CVE-2024-12087

Rsync: path traversal vulnerability in rsync

State
Published
Severity
6.5 Medium
Published
Jan 14, 2025
Updated
Oct 21, 2026
Reserved
Dec 3, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Nredhat

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
rsync
  • 3.3.0 and earlierAffected
Red Hat Enterprise Linux 10Red Hat
  • 0:3.4.1-2.el10 and laterNot affected
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONRed Hat
  • 0:3.0.6-12.el6_10.2 and laterNot affected
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat
  • 0:3.1.2-12.el7_9.2 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:3.1.3-21.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat
  • 0:3.1.3-7.el8_2.6 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:3.1.3-12.el8_4.6 and laterNot affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRed Hat
  • 0:3.1.3-12.el8_4.6 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:3.1.3-14.el8_6.9 and laterNot affected
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat
  • 0:3.1.3-14.el8_6.9 and laterNot affected
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat
  • 0:3.1.3-14.el8_6.9 and laterNot affected
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRed Hat
  • 0:3.1.3-20.el8_8.4 and laterNot affected
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat
  • 0:3.1.3-20.el8_8.4 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:3.2.5-3.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:3.2.5-3.el9 and laterNot affected
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat
  • 0:3.2.3-9.el9_0.4 and laterNot affected
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat
  • 0:3.2.3-19.el9_2.2 and laterNot affected
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat
  • 0:3.2.3-19.el9_4.2 and laterNot affected
Red Hat Discovery 1.14Red Hat
  • 1.14.2-1748467619 and laterNot affected
Red Hat OpenShift Container Platform 4Red Hat
    Red Hat OpenShift Container Platform 4Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.