CVE-2024-12087

Summary

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.

Affected Software

VendorProductVersion RangeStatus
0 <= 3.3.0affected
Red HatRed Hat Enterprise Linux 100:3.4.1-2.el10 < *unaffected
Red HatRed Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION0:3.0.6-12.el6_10.2 < *unaffected
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support0:3.1.2-12.el7_9.2 < *unaffected
Red HatRed Hat Enterprise Linux 80:3.1.3-21.el8_10 < *unaffected
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support0:3.1.3-7.el8_2.6 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:3.1.3-12.el8_4.6 < *unaffected
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:3.1.3-12.el8_4.6 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:3.1.3-14.el8_6.9 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service0:3.1.3-14.el8_6.9 < *unaffected
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions0:3.1.3-14.el8_6.9 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service0:3.1.3-20.el8_8.4 < *unaffected
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:3.1.3-20.el8_8.4 < *unaffected
Red HatRed Hat Enterprise Linux 90:3.2.5-3.el9 < *unaffected
Red HatRed Hat Enterprise Linux 90:3.2.5-3.el9 < *unaffected
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:3.2.3-9.el9_0.4 < *unaffected
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:3.2.3-19.el9_2.2 < *unaffected
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:3.2.3-19.el9_4.2 < *unaffected
Red HatRed Hat Discovery 1.141.14.2-1748467619 < *unaffected

Weaknesses

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

Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

Additional References

CVE Program Container

Additional References

References