UBUNTU-CVE-2024-12087

Source
https://ubuntu.com/security/CVE-2024-12087
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12087.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-12087
Related
Published
2025-01-09T00:00:00Z
Modified
2025-01-31T16:33:13Z
Summary
[none]
Details

A path traversal vulnerability exists in rsync. It stems from behavior enabled by the --inc-recursive option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the --inc-recursive option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.

References

Affected packages

Ubuntu:Pro:14.04:LTS / rsync

Package

Name
rsync
Purl
pkg:deb/ubuntu/rsync@3.1.0-2ubuntu0.4+esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0-2ubuntu0.4+esm1

Affected versions

3.*

3.0.9-4ubuntu1
3.1.0-2
3.1.0-2ubuntu0.1
3.1.0-2ubuntu0.2
3.1.0-2ubuntu0.3
3.1.0-2ubuntu0.4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.1.0-2ubuntu0.4+esm1",
            "binary_name": "rsync"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / rsync

Package

Name
rsync
Purl
pkg:deb/ubuntu/rsync@3.1.1-3ubuntu1.3+esm3?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.1-3ubuntu1.3+esm3

Affected versions

3.*

3.1.1-3
3.1.1-3ubuntu1
3.1.1-3ubuntu1.1
3.1.1-3ubuntu1.2
3.1.1-3ubuntu1.3
3.1.1-3ubuntu1.3+esm1
3.1.1-3ubuntu1.3+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.1.1-3ubuntu1.3+esm3",
            "binary_name": "rsync"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / rsync

Package

Name
rsync
Purl
pkg:deb/ubuntu/rsync@3.1.2-2.1ubuntu1.6+esm1?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2-2.1ubuntu1.6+esm1

Affected versions

3.*

3.1.2-2
3.1.2-2.1
3.1.2-2.1ubuntu1
3.1.2-2.1ubuntu1.1
3.1.2-2.1ubuntu1.2
3.1.2-2.1ubuntu1.3
3.1.2-2.1ubuntu1.4
3.1.2-2.1ubuntu1.5
3.1.2-2.1ubuntu1.6

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.1.2-2.1ubuntu1.6+esm1",
            "binary_name": "rsync"
        }
    ]
}

Ubuntu:20.04:LTS / rsync

Package

Name
rsync
Purl
pkg:deb/ubuntu/rsync@3.1.3-8ubuntu0.8?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.3-8ubuntu0.8

Affected versions

3.*

3.1.3-6
3.1.3-8
3.1.3-8ubuntu0.1
3.1.3-8ubuntu0.2
3.1.3-8ubuntu0.3
3.1.3-8ubuntu0.4
3.1.3-8ubuntu0.5
3.1.3-8ubuntu0.7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.1.3-8ubuntu0.8",
            "binary_name": "rsync"
        },
        {
            "binary_version": "3.1.3-8ubuntu0.8",
            "binary_name": "rsync-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / rsync

Package

Name
rsync
Purl
pkg:deb/ubuntu/rsync@3.2.7-0ubuntu0.22.04.3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.7-0ubuntu0.22.04.3

Affected versions

3.*

3.2.3-4ubuntu1
3.2.3-4ubuntu2
3.2.3-8ubuntu1
3.2.3-8ubuntu2
3.2.3-8ubuntu3
3.2.3-8ubuntu3.1
3.2.7-0ubuntu0.22.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.2.7-0ubuntu0.22.04.3",
            "binary_name": "rsync"
        },
        {
            "binary_version": "3.2.7-0ubuntu0.22.04.3",
            "binary_name": "rsync-dbgsym"
        }
    ]
}

Ubuntu:24.10 / rsync

Package

Name
rsync
Purl
pkg:deb/ubuntu/rsync@3.3.0-1ubuntu0.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.0-1ubuntu0.1

Affected versions

3.*

3.2.7-1ubuntu1
3.3.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.3.0-1ubuntu0.1",
            "binary_name": "rsync"
        },
        {
            "binary_version": "3.3.0-1ubuntu0.1",
            "binary_name": "rsync-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / rsync

Package

Name
rsync
Purl
pkg:deb/ubuntu/rsync@3.2.7-1ubuntu1.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.7-1ubuntu1.1

Affected versions

3.*

3.2.7-1
3.2.7-1build1
3.2.7-1build2
3.2.7-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.2.7-1ubuntu1.1",
            "binary_name": "rsync"
        },
        {
            "binary_version": "3.2.7-1ubuntu1.1",
            "binary_name": "rsync-dbgsym"
        }
    ]
}