CVE-2024-12747
JSON

5.6medium

Rsync: race condition in rsync handling symbolic links

Severity
5.6medium CVSS:3.1 by redhat
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was found in rsync. This vulnerability arises from a race condition during rsync's handling of symbolic links. Rsync's default behavior when encountering symbolic links is to skip them. If an attacker replaced a regular file with a symbolic link at the right time, it was possible to bypass the default behavior and traverse symbolic links. Depending on the privileges of the rsync process, an attacker could leak sensitive information, potentially leading to privilege escalation.

Affected

Product or packageVersionsReported by
rsyncup to 3.3.0
Not affected: from 0:3.4.1-2.el10 before *, from 0:3.1.3-21.el8_10 before *, from 0:3.2.5-3.el9 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1.14.2-1748467619 before *
CVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A flaw was found in rsync. This vulnerability arises from a race condition during rsync's handling of symbolic links. Rsync's default behavior when encountering symbolic links is to skip them. If an attacker replaced a regular file with a symbolic link at the right time, it was possible to bypass the default behavior and traverse symbolic links. Depending on the privileges of the rsync process, an attacker could leak sensitive information, potentially leading to privilege escalation.

NVD (es)

Se encontró un fallo en rsync. Esta vulnerabilidad surge de una condición de ejecución durante la gestión de enlaces simbólicos por parte de rsync. El comportamiento predeterminado de rsync cuando encuentra enlaces simbólicos es omitirlos. Si un atacante reemplazaba un archivo normal con un enlace simbólico en el momento adecuado, era posible omitir el comportamiento predeterminado y atravesar los enlaces simbólicos. Según los privilegios del proceso rsync, un atacante podría filtrar información confidencial, lo que podría llevar a una escalada de privilegios.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-12747 changed 2026-11-05CVE Terms of Use
NVDCVE-2024-12747 changed 2026-11-05Public domain