CVE-2016-7543 Command injection in n/a

High 8.4 Published Updated

Local attackers can execute arbitrary commands with root privileges by manipulating SHELLOPTS and PS4 environment variables in Bash.

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

What is CVE-2016-7543?

CVE-2016-7543 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 19 Jan 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Bash before 4.4 allows local users to execute arbitrary commands with root privileges via crafted SHELLOPTS and PS4 environment variables.

Weakness: CWE-20

Which versions are affected by CVE-2016-7543?

It affects 2 products.

Products include Fedoraproject Fedora, Gnu Bash.

How do I fix CVE-2016-7543?

Upgrade to a fixed version.

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

Is CVE-2016-7543 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-7543, DLA-680-1, GHSA-6xh6-xvh9-w4h5, UBUNTU-CVE-2016-7543.

Is CVE-2016-7543 in your software?

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

Check your SBOMs for free