Advisory

UBUNTU-CVE-2022-29154

Also known as: CVE-2022-29154

Summary

The record has no 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

High Basis: CVSS v3 score 7.4, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Dates

Published
2022-08-02 15:15 UTC
Modified
2026-06-16 13:30 UTC

Affected packages and fixes

rsync

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.1.2-2.1ubuntu1.6 (ecosystem)

Fixed versions

3.1.2-2.1ubuntu1.6

Fix

  • Fixed version 3.1.2-2.1ubuntu1.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

rsync

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.1.3-8ubuntu0.5 (ecosystem)

Fixed versions

3.1.3-8ubuntu0.5

Fix

  • Fixed version 3.1.3-8ubuntu0.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

rsync

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.2.7-0ubuntu0.22.04.2 (ecosystem)

Fixed versions

3.2.7-0ubuntu0.22.04.2

Fix

  • Fixed version 3.2.7-0ubuntu0.22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences