CVE-2019-3464 Command injection in rssh

Critical 9.8 Published Updated

Attackers can bypass rssh restrictions via environment variables to execute arbitrary shell commands, requiring a patched update.

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

What is CVE-2019-3464?

CVE-2019-3464 is a critical command injection vulnerability in Canonical Ubuntu Linux, published on 6 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Insufficient sanitization of environment variables passed to rsync can bypass the restrictions imposed by rssh, a restricted shell that should restrict users to perform only rsync operations, resulting in the execution of arbitrary shell commands.

Weakness: CWE-665

Which versions are affected by CVE-2019-3464?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Pizzashack Rssh.

How do I fix CVE-2019-3464?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2019-3464 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-3464, GHSA-wp4w-52jh-8g3x, UBUNTU-CVE-2019-3464.

Is CVE-2019-3464 in your software?

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

Check your SBOMs for free