Advisory

UBUNTU-CVE-2024-12087

Also known as: CVE-2024-12087

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Dates

Published
2025-01-09 00:00 UTC
Modified
2026-02-04 04:09 UTC

Affected packages and fixes

rsync

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

3.1.3-8ubuntu0.8

Fix

  • Fixed version 3.1.3-8ubuntu0.8
    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.3 (ecosystem)

Fixed versions

3.2.7-0ubuntu0.22.04.3

Fix

  • Fixed version 3.2.7-0ubuntu0.22.04.3
    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 24.04

Affected

  • introduced 0, fixed 3.2.7-1ubuntu1.1 (ecosystem)

Fixed versions

3.2.7-1ubuntu1.1

Fix

  • Fixed version 3.2.7-1ubuntu1.1
    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