CVE-2022-29154

Publication date 2 August 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.4 · High

Score breakdown

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).

Read the notes from the security team

Status

Package Ubuntu Release Status
rsync 23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Fixed 3.2.7-0ubuntu0.22.04.2
20.04 LTS focal
Fixed 3.1.3-8ubuntu0.5
18.04 LTS bionic
Fixed 3.1.2-2.1ubuntu1.6
16.04 LTS xenial Ignored change too intrusive
14.04 LTS trusty Ignored change too intrusive

Notes


mdeslaur

two additional commits were added later on...need to check if more go in before the official release


rodrigo-zaiden

Another commit was found to be part of the collection for this CVE. 4 in total seems to address it. The missing commit was added in historical order in the Patches section here.


mdeslaur

many more commits were added into 3.2.5 than what is listed below 3.2.5 introduced regressions which were fixed in 3.2.6 and 3.2.7

Severity score breakdown

Parameter Value
Base score 7.4 · High
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H