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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 1 | rsync | 2025-01-16 06:35 | ALAS-2025-1955 |
Amazon Linux 2 - Core | rsync | 2025-01-16 06:56 | ALAS2-2025-2731 |
Amazon Linux 2023 | rsync | 2025-01-16 07:11 | ALAS2023-2025-801 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
NVD | CVSSv3 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |