Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-5764 EUVD-2018-17533GHSA-qp2v-jrh4-vgj2

The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remot…

Published Jan 17, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote attackers to bypass an argument-sanitization protection mechanism.

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.1.2-2.2 —
Debian 13 rsync 3.1.2-2.2 —
Debian 12 rsync 3.1.2-2.2 —
Debian 9 rsync 3.1.2-1+deb9u3 DLA-2833-1
Debian 8 rsync 3.1.1-3+deb8u2 DLA-1725-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 rsync 3.0.9-4+deb7u2 DLA-1247-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS rsync 3.1.1-3ubuntu1.2 USN-3543-1
Ubuntu 14.04 LTS rsync 3.1.0-2ubuntu0.4 USN-3543-1
ReleasePackageFixed inAdvisory
SLES 12 SP3 rsync 3.1.0-13.10.1 SUSE-SU-2018:0174-1
SLES 12 SP2 rsync 3.1.0-13.10.1 SUSE-SU-2018:0174-1
SLES 11 SP4 rsync 3.0.4-2.53.6.1 SUSE-SU-2018:0172-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 rsync 3.1.0-13.10.1 SUSE-SU-2018:0174-1
SLES for SAP 12 SP2 rsync 3.1.0-13.10.1 SUSE-SU-2018:0174-1
SLES for SAP 11 SP4 rsync 3.0.4-2.53.6.1 SUSE-SU-2018:0172-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rsync 3.2.3-2.6 openSUSE-SU-2024:11308-1
ReleasePackageFixed inAdvisory
Alpine v3.7 rsync 3.1.3-r0 —
Alpine v3.6 rsync 3.1.3-r0 —
Alpine v3.5 rsync 3.1.3-r0 —
Alpine v3.4 rsync 3.1.3-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References