CVE-2024-12087

Published Jan 14, 2025

Last updated 2 months ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2024-12087 is a path traversal vulnerability found in the rsync utility. This vulnerability is related to the `--inc-recursive` option, which is enabled by default for many client options and can also be enabled by the server. The vulnerability arises from insufficient symlink verification combined with deduplication checks performed on each file list. This allows a malicious server to write files outside the client's intended directory, potentially placing malicious files in arbitrary locations disguised as valid directories or paths on the client system.

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.
Source
secalert@redhat.com
NVD status
Modified
Products
rsync, almalinux, arch_linux, linux, nixos, suse_linux, smartos, enterprise_linux, enterprise_linux_eus, enterprise_linux_for_arm_64, enterprise_linux_for_arm_64_eus, enterprise_linux_for_ibm_z_systems, enterprise_linux_for_ibm_z_systems_eus, enterprise_linux_for_power_little_endian, enterprise_linux_for_power_little_endian_eus, enterprise_linux_server_aus, enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions, enterprise_linux_update_services_for_sap_solutions

Risk scores

CVSS 3.1

Type
Primary
Base score
7.5
Impact score
3.6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Severity
HIGH

Weaknesses

secalert@redhat.com
CWE-22
nvd@nist.gov
CWE-22

Social media

Hype score
Not currently trending

Configurations