Skip to content

CVE-2018-5764 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 mec...

HighCVSS 7.5 EPSS 6.4%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

12 packages: 10 fixed.

PackageAffectedFixed inStatus
alpine/rsync(Alpine v3.4) < 3.1.3-r0 3.1.3-r0 Fixed
alpine/rsync(Alpine v3.5) < 3.1.3-r0 3.1.3-r0 Fixed
alpine/rsync(Alpine v3.6) < 3.1.3-r0 3.1.3-r0 Fixed
alpine/rsync(Alpine v3.7) < 3.1.3-r0 3.1.3-r0 Fixed
debian/rsync(Debian 12) < 3.1.2-2.2 3.1.2-2.2 Fixed
debian/rsync(Debian 13) < 3.1.2-2.2 3.1.2-2.2 Fixed
debian/rsync(Debian 14) < 3.1.2-2.2 3.1.2-2.2 Fixed
Samba rsync < 3.1.3 3.1.3 Fixed
ubuntu/rsync(Ubuntu 14.04) < 3.1.0-2ubuntu0.4; = 3.0.9-4ubuntu1; = 3.1.0-2; = 3.1.0-2ubuntu0.1 +2 more 3.1.0-2ubuntu0.4 Fixed
ubuntu/rsync(Ubuntu 16.04) < 3.1.1-3ubuntu1.2; = 3.1.1-3; = 3.1.1-3ubuntu1; = 3.1.1-3ubuntu1.1 3.1.1-3ubuntu1.2 Fixed
Canonical Ubuntu Linux = 14.04; = 16.04; = 17.10 No fix listed Versions listed
debian linux = 7.0; = 8.0; = 9.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/rsync(Debian:12) < 3.1.2-2.2 3.1.2-2.2
debian/rsync(Debian:13) < 3.1.2-2.2 3.1.2-2.2
debian/rsync(Debian:14) < 3.1.2-2.2 3.1.2-2.2
Samba rsync < 3.1.3 3.1.3
debian linux = 7.0 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 17.10 No fix listed
alpine/rsync(Alpine:v3.4) < 3.1.3-r0 3.1.3-r0
alpine/rsync(Alpine:v3.5) < 3.1.3-r0 3.1.3-r0
alpine/rsync(Alpine:v3.6) < 3.1.3-r0 3.1.3-r0
alpine/rsync(Alpine:v3.7) < 3.1.3-r0 3.1.3-r0
ubuntu/rsync(Ubuntu:14.04) < 3.1.0-2ubuntu0.4 3.1.0-2ubuntu0.4
ubuntu/rsync(Ubuntu:14.04) = 3.0.9-4ubuntu1 No fix listed
ubuntu/rsync(Ubuntu:14.04) = 3.1.0-2 No fix listed
ubuntu/rsync(Ubuntu:14.04) = 3.1.0-2ubuntu0.1 No fix listed
ubuntu/rsync(Ubuntu:14.04) = 3.1.0-2ubuntu0.2 No fix listed
ubuntu/rsync(Ubuntu:14.04) = 3.1.0-2ubuntu0.3 No fix listed
ubuntu/rsync(Ubuntu:16.04) < 3.1.1-3ubuntu1.2 3.1.1-3ubuntu1.2
ubuntu/rsync(Ubuntu:16.04) = 3.1.1-3 No fix listed
ubuntu/rsync(Ubuntu:16.04) = 3.1.1-3ubuntu1 No fix listed
ubuntu/rsync(Ubuntu:16.04) = 3.1.1-3ubuntu1.1 No fix listed

References