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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2018-5764 vendor-advisory
- 102803 third-party-advisory vdb-entry
- 1040276 third-party-advisory vdb-entry
- download.samba.org issue-tracking release-notes vendor-advisory
- git.samba.org
- [debian-lts-announce] 20180119 [SECURITY] [DLA 1247-1] rsync security update mailing-list third-party-advisory
- [debian-lts-announce] 20190324 [SECURITY] [DLA 1725-1] rsync security update mailing-list third-party-advisory
- [debian-lts-announce] 20211130 [SECURITY] [DLA 2833-1] rsync security update mailing-list third-party-advisory
- GLSA-201805-04 third-party-advisory vendor-advisory
- USN-3543-1 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- git.samba.org issue-tracking
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking