| Name | CVE-2024-12088 |
| Description | A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4015-1, DSA-5843-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| rsync (PTS) | bullseye | 3.2.3-4+deb11u1 | vulnerable |
| bullseye (security) | 3.2.3-4+deb11u3 | fixed | |
| bookworm | 3.2.7-1+deb12u4 | fixed | |
| bookworm (security) | 3.2.7-1+deb12u2 | fixed | |
| trixie | 3.4.1+ds1-5+deb13u1 | fixed | |
| forky, sid | 3.4.1+ds1-7 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| rsync | source | bullseye | 3.2.3-4+deb11u2 | DLA-4015-1 | ||
| rsync | source | bookworm | 3.2.7-1+deb12u1 | DSA-5843-1 | ||
| rsync | source | (unstable) | 3.3.0+ds1-3 |
https://www.openwall.com/lists/oss-security/2025/01/14/3
Fixed by: https://git.samba.org/?p=rsync.git;a=commit;h=407c71c7ce562137230e8ba19149c81ccc47c387 (v3.4.0)
https://phrack.org/issues/72/11_md#article