CVE-2021-34078 OS Command Injection in lifion-verify-deps

High 8.8 Published Updated

Attackers can execute arbitrary OS commands by crafting a malicious dependency name in package.json when using lifion-verify-dependencies.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-34078?

CVE-2021-34078 is a high-severity command injection vulnerability in n/a, published on 1 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

lifion-verify-dependencies through 1.1.0 is vulnerable to OS command injection via a crafted dependency name on the scanned project's package.json file.

Weakness: CWE-78

Which versions are affected by CVE-2021-34078?

2 open source packages ship an affected version, including lifion-verify-deps. It affects 1 product.

PackageAffectedFixed in
lifion-verify-deps npmAll versions1.2.0
lifion-verify-deps npmAll versions1.2.0

Products include Adp Lifion-Verifiy-Dependencies.

How do I fix CVE-2021-34078?

Upgrade lifion-verify-deps to 1.2.0 or later.

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

Is CVE-2021-34078 being exploited?

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

Sources

Also known as GHSA-rphm-c8gw-3r38.

Is CVE-2021-34078 in your software?

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

Check your SBOMs for free