CVE-2018-5764
published 2018-01-17CVE-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…
PriorityP348high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
6.34%
92.9th percentile
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.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | rsync | < rsync 3.1.2-2.2 (bookworm) | rsync 3.1.2-2.2 (bookworm) |
| samba | rsync | < 3.1.3 | 3.1.3 |
| samba | rsync | >= 0 < 3.1.2-2.2 | 3.1.2-2.2 |
| samba | rsync | >= 0 < 3.1.2-2.2 | 3.1.2-2.2 |
| samba | rsync | >= 0 < 3.1.2-2.2 | 3.1.2-2.2 |
| samba | rsync | >= 0 < 3.1.2-2.2 | 3.1.2-2.2 |
| samba | rsync | >= 0 < 3.1.0-2ubuntu0.4 | 3.1.0-2ubuntu0.4 |
| samba | rsync | >= 0 < 3.1.1-3ubuntu1.2 | 3.1.1-3ubuntu1.2 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
rsync vulnerabilities
vendor_ubuntu·2018-01-23·CVSS 9.8
CVE-2017-16548 [CRITICAL] rsync vulnerabilities
Title: rsync vulnerabilities
Summary: Several security issues were fixed in rsync.
USN-3543-1 fixed vulnerabilities in rsync. This update
provides the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
It was discovered that rsync incorrectly handled certain data input.
An attacker could possibly use this to cause a denial of service or
execute arbitrary code. (CVE-2017-16548)
It was discovered that rsync incorrectly parsed certain arguments. An attacker
could possibly use this to bypass arguments and execute arbitrary code.
(CVE-2018-5764)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
rsync vulnerabilities
vendor_ubuntu·2018-01-23·CVSS 9.8
CVE-2017-16548 [CRITICAL] rsync vulnerabilities
Title: rsync vulnerabilities
Summary: Several security issues were fixed in rsync.
It was discovered that rsync incorrectly handled certain data input.
An attacker could possibly use this to cause a denial of service or
execute arbitrary code. (CVE-2017-16548)
It was discovered that rsync incorrectly parsed certain arguments. An attacker
could possibly use this to bypass arguments and execute arbitrary code.
(CVE-2018-5764)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
rsync: sanitization bypass in parse_argument in options.c
vendor_redhat·2018-01-17·CVSS 7.5
CVE-2018-5764 [HIGH] CWE-77 rsync: sanitization bypass in parse_argument in options.c
rsync: sanitization bypass in parse_argument in options.c
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.
Statement: This issue affects the versions of rsync as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise Linux 6. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: rsync (Red Hat Enterprise Linux 5) - Will not fix
Package: rsync (Red Hat Enterprise Linux 6) - Will not fix
Package: rsync (Red Hat Enterp
Debian
CVE-2018-5764: rsync - The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does n...
vendor_debian·2018·CVSS 7.5
CVE-2018-5764 [HIGH] CVE-2018-5764: rsync - The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does n...
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.
Scope: local
bookworm: resolved (fixed in 3.1.2-2.2)
bullseye: resolved (fixed in 3.1.2-2.2)
forky: resolved (fixed in 3.1.2-2.2)
sid: resolved (fixed in 3.1.2-2.2)
trixie: resolved (fixed in 3.1.2-2.2)
GHSA
GHSA-qp2v-jrh4-vgj2: The parse_arguments function in options
ghsa_unreviewed·2022-05-13
CVE-2018-5764 [HIGH] GHSA-qp2v-jrh4-vgj2: The parse_arguments function in options
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.
OSV
rsync vulnerabilities
osv·2018-01-23·CVSS 9.8
CVE-2017-16548 [CRITICAL] rsync vulnerabilities
rsync vulnerabilities
It was discovered that rsync incorrectly handled certain data input.
An attacker could possibly use this to cause a denial of service or
execute arbitrary code. (CVE-2017-16548)
It was discovered that rsync incorrectly parsed certain arguments. An attacker
could possibly use this to bypass arguments and execute arbitrary code.
(CVE-2018-5764)
OSV
CVE-2018-5764: The parse_arguments function in options
osv·2018-01-17·CVSS 7.5
CVE-2018-5764 [HIGH] CVE-2018-5764: The parse_arguments function in options
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5764 rsync: sanitization bypass in parse_argument in options.c
bugzilla·2018-01-19·CVSS 7.5
CVE-2018-5764 [HIGH] CVE-2018-5764 rsync: sanitization bypass in parse_argument in options.c
CVE-2018-5764 rsync: sanitization bypass in parse_argument in options.c
A flaw was found in rsync verions before 3.1.3. The parse_argument function in options.c in rsyncd component does not prevent multiple --protect-args uses. Thus letting the user to specify the arg in the protected-arg list and shortcut some of the arg-sanitizing code. This vulnerability allows remote attackers to bypass the argument-sanitization protection mechanism, which may lead to a privilege escalation vulnerability.
References:
https://download.samba.org/pub/rsync/src-previews/rsync-3.1.3pre1-NEWS
Patch:
https://git.samba.org/rsync.git/?p=rsync.git;a=commit;h=7706303828fcde524222babb2833864a4bd09e07
Discussion:
Created rsync tracking bugs for this issue:
Affects: fedora-all [bug 1536662]
---
Statement:
Bugzilla
CVE-2018-5764 rsync: sanitization bypass in parse_argument in oprions.c [fedora-all]
bugzilla·2018-01-19·CVSS 7.5
CVE-2018-5764 [HIGH] CVE-2018-5764 rsync: sanitization bypass in parse_argument in oprions.c [fedora-all]
CVE-2018-5764 rsync: sanitization bypass in parse_argument in oprions.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported v
http://www.securityfocus.com/bid/102803http://www.securitytracker.com/id/1040276https://download.samba.org/pub/rsync/src-previews/rsync-3.1.3pre1-NEWShttps://git.samba.org/rsync.git/?p=rsync.git%3Ba=commit%3Bh=7706303828fcde524222babb2833864a4bd09e07https://lists.debian.org/debian-lts-announce/2018/01/msg00021.htmlhttps://lists.debian.org/debian-lts-announce/2019/03/msg00027.htmlhttps://lists.debian.org/debian-lts-announce/2021/11/msg00028.htmlhttps://security.gentoo.org/glsa/201805-04https://usn.ubuntu.com/3543-1/http://www.securityfocus.com/bid/102803http://www.securitytracker.com/id/1040276https://download.samba.org/pub/rsync/src-previews/rsync-3.1.3pre1-NEWShttps://git.samba.org/rsync.git/?p=rsync.git%3Ba=commit%3Bh=7706303828fcde524222babb2833864a4bd09e07https://lists.debian.org/debian-lts-announce/2018/01/msg00021.htmlhttps://lists.debian.org/debian-lts-announce/2019/03/msg00027.htmlhttps://lists.debian.org/debian-lts-announce/2021/11/msg00028.htmlhttps://security.gentoo.org/glsa/201805-04https://usn.ubuntu.com/3543-1/
2018-01-17
Published