CVE-2024-12087
rsync vulnerability analysis and mitigation

Overview

A path traversal vulnerability (CVE-2024-12087) was discovered in rsync affecting versions prior to 3.4.0. The vulnerability stems from behavior enabled by the --inc-recursive option, which is default-enabled for many client options and can be enabled by the server even if not explicitly enabled by the client (CERT VU, NVD). The vulnerability was disclosed on January 14, 2025.

Technical details

The vulnerability occurs when using the --inc-recursive option, where a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis creates a security weakness. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N) (NVD, Fortra).

Impact

When exploited, this vulnerability could allow a malicious server to write files outside of the client's intended destination directory. The server could write malicious files to arbitrary locations named after valid directories/paths on the client system (NVD, CERT VU).

Mitigation and workarounds

Users are advised to upgrade to rsync version 3.4.0 or later, as this version addresses the vulnerability. Organizations should prioritize updating all instances of rsync in their environment to the patched version (Fortra).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management