CVE-2018-5764 Security feature bypass in n/a

High 7.5 Published Updated

Remote attackers can bypass argument sanitization in rsyncd by using multiple --protect-args flags, potentially exposing sensitive data or enabling further attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-5764?

CVE-2018-5764 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 17 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2018-5764?

It affects 3 products.

Linux distribution packages (9)
rsync SUSE:Linux Enterprise Desktop 12 SP2All versions3.1.0-13.10.1
rsync SUSE:Linux Enterprise Desktop 12 SP3All versions3.1.0-13.10.1
rsync SUSE:Linux Enterprise Server 11 SP4All versions3.0.4-2.53.6.1
rsync SUSE:Linux Enterprise Server 12 SP2All versions3.1.0-13.10.1
rsync SUSE:Linux Enterprise Server 12 SP3All versions3.1.0-13.10.1
rsync SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions3.1.0-13.10.1
rsync SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions3.0.4-2.53.6.1
rsync SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions3.1.0-13.10.1
rsync SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.1.0-13.10.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Samba Rsync.

How do I fix CVE-2018-5764?

Upgrade to a fixed version.

Is CVE-2018-5764 being exploited?

There is no known exploitation of CVE-2018-5764 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-5764, DEBIAN-CVE-2018-5764, DLA-1247-1, DLA-2833-1, GHSA-qp2v-jrh4-vgj2, MGASA-2018-0103 and 3 more.

Is CVE-2018-5764 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free