CVE-2021-34080 OS Command injection in ssl-utils

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via unsanitized input in ssl-utils certificate creation functions, requiring library upgrades.

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

What is CVE-2021-34080?

CVE-2021-34080 is a critical command injection vulnerability in n/a, published on 1 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OS Command Injection vulnerability in es128 ssl-utils 1.0.0 for Node.js allows attackers to execute arbitrary commands via unsanitized shell metacharacters provided to the createCertRequest() and the createCert() functions.

Weakness: CWE-78

Which versions are affected by CVE-2021-34080?

2 open source packages ship an affected version, including ssl-utils. It affects 1 product.

PackageAffectedFixed in
ssl-utils npmAll versions to 1.0.0None
ssl-utils npmAll versions to 1.0.0None

Products include Ssl-Utils Project Ssl-Utils.

How do I fix CVE-2021-34080?

No fix has been published for CVE-2021-34080 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-34080 being exploited?

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

Sources

Also known as GHSA-552j-pv39-f3jf.

Is CVE-2021-34080 in your software?

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

Check your SBOMs for free