CVE-2024-12087

Rsync: path traversal vulnerability in rsync

At a glance

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

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.

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 6 Extended Lifecycle Support - EXTENSIONunaffected 0:3.0.6-12.el6_10.2 < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Supportunaffected 0:3.1.2-12.el7_9.2 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:3.1.3-21.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Supportunaffected 0:3.1.3-7.el8_2.6 < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:3.1.3-12.el8_4.6 < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:3.1.3-12.el8_4.6 < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:3.1.3-14.el8_6.9 < *
Red Hat · Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceunaffected 0:3.1.3-14.el8_6.9 < *
Red Hat · Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsunaffected 0:3.1.3-14.el8_6.9 < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:3.1.3-20.el8_8.4 < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:3.1.3-20.el8_8.4 < *
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 Enterprise Linux 9.0 Update Services for SAP Solutionsunaffected 0:3.2.3-9.el9_0.4 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:3.2.3-19.el9_2.2 < *
Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Supportunaffected 0:3.2.3-19.el9_4.2 < *
Red Hat · Red Hat Discovery 1.14unaffected 1.14.2-1748467619 < *
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