CVE-2017-5932 Command injection in n/a

High 7.8 Published Updated

Local attackers can escalate privileges and execute arbitrary code via crafted filenames in Bash path autocompletion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5932?

CVE-2017-5932 is a high-severity command injection vulnerability in n/a, published on 27 Mar 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The path autocompletion feature in Bash 4.4 allows local users to gain privileges via a crafted filename starting with a " (double quote) character and a command substitution metacharacter.

Weakness: CWE-20

Which versions are affected by CVE-2017-5932?

It affects 1 product.

Products include Gnu Bash.

How do I fix CVE-2017-5932?

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-2017-5932 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-5932, GHSA-7893-9j9h-935c.

Is CVE-2017-5932 in your software?

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

Check your SBOMs for free