CVE-2024-12088

Rsync: --safe-links option bypass leads to path traversal

At a glance

Severity
MEDIUM 6.5
EPSS
EPSS 4.65 % · percentile 92 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Nredhat
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NNVD · secalert@redhat.com (Secondary)
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
rsyncaffected 0 ≤ 3.3.0
Red Hat · Red Hat Enterprise Linux 10unaffected 0:3.4.1-2.el10 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:3.1.3-21.el8_10 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:3.2.5-3.el9 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:3.2.5-3.el9 < *
Red Hat · Red Hat Discovery 1.14unaffected 1.14.2-1748467619 < *
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat OpenShift Container Platform 4

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD