Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
— rsync ≤ 3.3.0 —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Discovery 1.14 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rsync 3.3.0+ds1-3 —
Debian 13 rsync 3.3.0+ds1-3 —
Debian 12 rsync 3.2.7-1+deb12u1 DSA-5843-1
Debian 11 rsync 3.2.3-4+deb11u2 DLA-4015-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS rsync 3.2.7-1ubuntu1.1 USN-7206-1
Ubuntu 22.04 LTS rsync 3.2.7-0ubuntu0.22.04.3 USN-7206-1
Ubuntu 20.04 LTS rsync 3.1.3-8ubuntu0.8 USN-7206-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS rsync 3.1.2-2.1ubuntu1.6+esm1 USN-7206-1
Ubuntu Pro 16.04 LTS rsync 3.1.1-3ubuntu1.3+esm3 USN-7206-1
Ubuntu Pro 14.04 LTS rsync 3.1.0-2ubuntu0.4+esm1 USN-7206-1
ReleasePackageFixed inAdvisory
RHEL 10 rsync +2 3.4.1-2.el10 RHBA-2025:6470
RHEL 9 rsync +2 3.2.5-3.el9 RHSA-2025:7050
RHEL 8 rsync +1 3.1.3-21.el8_10 RHSA-2025:2600

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 rsync +2 3.2.5-3.el9 ALSA-2025:7050
AlmaLinux 8 rsync +1 3.1.3-21.el8_10 ALSA-2025:2600

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 rsync 3.2.5-3.el9 RLSA-2025:7050
Rocky Linux 8 rsync 3.1.3-21.el8_10 RLSA-2025:2600
ReleasePackageFixed inAdvisory
SLES 15 SP6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
SLES 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLES 12 SP5 rsync 3.1.3-3.22.1 SUSE-SU-2025:1330-1, SUSE-SU-2025:0166-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES for SAP 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES for SAP 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE Micro 6.1 rsync 3.3.0-slfo.1.1_3.1 SUSE-SU-2025:20223-1
SLE Micro 6.0 rsync 3.2.7-4.1 SUSE-SU-2025:20122-1
SLE Micro 5.5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.2 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE Micro 5.1 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE HPC 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE HPC 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE HPC 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SUSE Manager Server 4.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SUSE Manager Proxy 4.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SUSE Enterprise Storage 7.1 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rsync 3.4.1-1.1 openSUSE-SU-2025:14665-1
openSUSE Leap 15.6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
ReleasePackageFixed inAdvisory
Alpine v3.24 rsync 3.4.0-r0 —
Alpine v3.23 rsync 3.4.0-r0 —
Alpine v3.22 rsync 3.4.0-r0 —
Alpine v3.21 rsync 3.4.0-r0 —
Alpine v3.20 rsync 3.4.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 rsync 3.4.0-r0 —
Alpine v3.18 rsync 3.4.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rsync +1 3.4.0-1.amzn2023.0.2 ALAS2023-2025-801
Amazon Linux 2 rsync 3.1.2-11.amzn2.0.5 ALAS2-2025-2731

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rsync 3.4.1-1 —
Azure Linux 2 (CBL-Mariner) rsync 3.4.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 rsync +2 3.2.5-3.el9 ELSA-2025-7050
Oracle Linux 8 rsync +1 3.1.3-21.el8_10 ELSA-2025-2600

Advisories 27

References