CVE-2020-28447 Command Injection

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via the xopen function in the xopen Node.js library, potentially compromising the host system.

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-2020-28447?

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

Official description

This affects all versions of package xopen. The injection point is located in line 14 in index.js in the exported function xopen(filepath)

Weakness: CWE-77

Which versions are affected by CVE-2020-28447?

2 open source packages ship an affected version, including xopen. It affects 1 product.

PackageAffectedFixed in
xopen npmAll versions to 1.0.0None
xopen npmAll versions to 1.0.0None

Products include Xopen Project Xopen.

How do I fix CVE-2020-28447?

No fix has been published for CVE-2020-28447 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-2020-28447 being exploited?

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

Sources

Also known as GHSA-74wf-cwjg-9cf2.

Is CVE-2020-28447 in your software?

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

Check your SBOMs for free