CVE-2020-8178 Command injection in jison

Critical 9.8 Published Updated

Insufficient input validation in the jison library allows attackers to execute arbitrary OS commands via crafted input.

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

What is CVE-2020-8178?

CVE-2020-8178 is a critical command injection vulnerability in jison, published on 15 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Insufficient input validation in npm package `jison` <= 0.4.18 may lead to OS command injection attacks.

Weakness: CWE-78

Which versions are affected by CVE-2020-8178?

It affects 1 product.

Products include Jison Project Jison.

How do I fix CVE-2020-8178?

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-2020-8178 being exploited?

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

Sources

Also known as OESA-2022-1546, OESA-2022-2046, UBUNTU-CVE-2020-8178.

Is CVE-2020-8178 in your software?

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

Check your SBOMs for free