CVE-2020-7631 OS Command Injection in diskusage-ng

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via the path argument in the diskusage-ng library, requiring an upgrade to mitigate.

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-7631?

CVE-2020-7631 is a critical command injection vulnerability in diskusage-ng, published on 6 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

diskusage-ng through 0.2.4 is vulnerable to Command Injection.It allows execution of arbitrary commands via the path argument.

Weakness: CWE-78

Which versions are affected by CVE-2020-7631?

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

PackageAffectedFixed in
diskusage-ng npmAll versions to 0.2.4None
diskusage-ng npmAll versions to 0.2.4None

Products include Diskusage-Ng Project Diskusage-Ng.

How do I fix CVE-2020-7631?

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

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

Sources

Also known as GHSA-3269-x4pw-vffg.

Is CVE-2020-7631 in your software?

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

Check your SBOMs for free