Vulnerability · Published Jan 14, 2025 · Assigned by redhat

CVE-2024-12747Rsync: race condition in rsync handling symbolic links

Medium 5.6

In plain English

A medium-severity race condition in rsync. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.4%top 67.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8rsync3.1.3-21.el8_10ALSA-2025:2600
AlmaLinux:9rsync3.2.5-3.el9ALSA-2025:7050
AlmaLinux:8rsync-daemon3.1.3-21.el8_10ALSA-2025:2600
AlmaLinux:9rsync-daemon3.2.5-3.el9ALSA-2025:7050
AlmaLinux:9rsync-rrsync3.2.5-3.el9ALSA-2025:7050
Alpine:v3.20rsync3.4.0-r0ALPINE-CVE-2024-12747
Alpine:v3.21rsync3.4.0-r0ALPINE-CVE-2024-12747
Alpine:v3.22rsync3.4.0-r0ALPINE-CVE-2024-12747
Alpine:v3.23rsync3.4.0-r0ALPINE-CVE-2024-12747
Alpine:v3.24rsync3.4.0-r0ALPINE-CVE-2024-12747
Debian:12rsync3.2.7-1+deb12u1DSA-5843-1
Debian:12rsync3.2.7-1+deb12u1DEBIAN-CVE-2024-12747
Debian:13rsync3.3.0+ds1-3DEBIAN-CVE-2024-12747
Debian:14rsync3.3.0+ds1-3DEBIAN-CVE-2024-12747
Rocky Linux:8rsync0:3.1.3-21.el8_10RLSA-2025:2600
Rocky Linux:9rsync0:3.2.5-3.el9RLSA-2025:7050
Ubuntu:22.04:LTSrsync3.2.7-0ubuntu0.22.04.3USN-7206-1
Ubuntu:22.04:LTSrsync3.2.7-0ubuntu0.22.04.3UBUNTU-CVE-2024-12747
Ubuntu:24.04:LTSrsync3.2.7-1ubuntu1.1UBUNTU-CVE-2024-12747
Ubuntu:24.04:LTSrsync3.2.7-1ubuntu1.1USN-7206-1

Affected products (as reported)

VendorProductVersions
rsync 0 – through 3.3.0
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Discovery 1.14 see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat OpenShift Container Platform 4 see references

Weakness: CWE-362 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

References