Home

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.

PUBLISHED Reserved 2024-12-03 | Published 2025-01-14 | Updated 2025-12-10 | Assigner redhat




MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Problem types

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version
affected

Default status
affected

0:3.1.3-21.el8_10 (rpm) before *
unaffected

Default status
affected

0:3.2.5-3.el9 (rpm) before *
unaffected

Default status
affected

0:3.2.5-3.el9 (rpm) before *
unaffected

Default status
affected

sha256:492e412759cf0eedfa5b557f7b0865f8864f84d0ed75e11dc8d7a840837d9644 (rpm) before *
unaffected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Timeline

2024-12-05:Reported to Red Hat.
2025-01-14:Made public.

Credits

Red Hat would like to thank Jasiel Spelman (Google), Pedro Gallegos (Google), and Simon Scannell (Google) for reporting this issue.

References

github.com/...search/security/advisories/GHSA-p5pg-x43v-mvqj exploit

security.netapp.com/advisory/ntap-20250131-0002/

lists.debian.org/debian-lts-announce/2025/01/msg00008.html

www.kb.cert.org/vuls/id/952657

access.redhat.com/errata/RHSA-2025:2600 (RHSA-2025:2600) vendor-advisory

access.redhat.com/errata/RHSA-2025:7050 (RHSA-2025:7050) vendor-advisory

access.redhat.com/errata/RHSA-2025:8385 (RHSA-2025:8385) vendor-advisory

access.redhat.com/security/cve/CVE-2024-12087 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2330672 (RHBZ#2330672) issue-tracking

kb.cert.org/vuls/id/952657

cve.org (CVE-2024-12087)

nvd.nist.gov (CVE-2024-12087)