CVE-2024-12087
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.
How to fix CVE-2024-12087
To remediate CVE-2024-12087, upgrade the affected package to a fixed version below.
- —upgrade to 3.4.0-r0 or later
- —upgrade to 3.2.3-4+deb11u2 or later
Is CVE-2024-12087 being exploited?
Low — EPSS is 3.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.4.0-r0
- from 0, < 3.2.3-4+deb11u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |