ubuntu-cve-2022-29154
Vulnerability from osv_ubuntu
Published
2022-08-02 15:15
Modified
2026-06-16 11:08
Summary
Details
An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).
Severity
7.4 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rsync",
"binary_version": "3.1.0-2ubuntu0.4+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "rsync",
"purl": "pkg:deb/ubuntu/rsync@3.1.0-2ubuntu0.4+esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"3.1.0-2ubuntu0.4+esm1",
"3.1.0-2ubuntu0.4+esm2",
"3.1.0-2ubuntu0.4+esm3",
"3.1.0-2ubuntu0.4+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rsync",
"binary_version": "3.1.1-3ubuntu1.3+esm6"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "rsync",
"purl": "pkg:deb/ubuntu/rsync@3.1.1-3ubuntu1.3+esm6?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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",
"3.1.1-3ubuntu1.3+esm3",
"3.1.1-3ubuntu1.3+esm4",
"3.1.1-3ubuntu1.3+esm5",
"3.1.1-3ubuntu1.3+esm6"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "rsync",
"binary_version": "3.1.2-2.1ubuntu1.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "rsync",
"purl": "pkg:deb/ubuntu/rsync@3.1.2-2.1ubuntu1.6?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.2-2.1ubuntu1.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "rsync",
"binary_version": "3.1.3-8ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "rsync",
"purl": "pkg:deb/ubuntu/rsync@3.1.3-8ubuntu0.5?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.3-8ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "rsync",
"binary_version": "3.2.7-0ubuntu0.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "rsync",
"purl": "pkg:deb/ubuntu/rsync@3.2.7-0ubuntu0.22.04.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.7-0ubuntu0.22.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
}
],
"aliases": [],
"details": "An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).",
"id": "UBUNTU-CVE-2022-29154",
"modified": "2026-06-16T11:08:16Z",
"published": "2022-08-02T15:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-29154"
},
{
"type": "REPORT",
"url": "https://download.samba.org/pub/rsync/NEWS"
},
{
"type": "REPORT",
"url": "https://lists.samba.org/archive/rsync/2022-August/032860.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5921-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-29154"
}
],
"related": [
"USN-5921-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-29154"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…