CVE-2021-29300 Command Injection in @ronomon/opened

Critical 9.8 Published Updated

A remote attacker can execute arbitrary system commands via untrusted input in the @ronomon/opened library.

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

What is CVE-2021-29300?

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

Official description

The @ronomon/opened library before 1.5.2 is vulnerable to a command injection vulnerability which would allow a remote attacker to execute commands on the system if the library was used with untrusted input.

Weakness: CWE-78

Which versions are affected by CVE-2021-29300?

2 open source packages ship an affected version, including @ronomon/opened. It affects 1 product.

PackageAffectedFixed in
@ronomon/opened npmAll versions1.5.2
@ronomon/opened npmAll versions1.5.2

Products include Ronomon Opened.

How do I fix CVE-2021-29300?

Upgrade @ronomon/opened to 1.5.2 or later.

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

Is CVE-2021-29300 being exploited?

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

Sources

Also known as GHSA-fg5w-w99f-rj6w.

Is CVE-2021-29300 in your software?

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

Check your SBOMs for free