CVE-2020-7628 Command Injection in umount

Critical 9.8 Published Updated

The umount library allows command injection via unsanitized device arguments, enabling attackers to execute arbitrary commands.

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

CVE-2020-7628 is a critical command injection vulnerability in install-package, published on 2 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

umount through 1.1.6 is vulnerable to Command Injection. The argument device can be controlled by users without any sanitization.

Weakness: CWE-78

Which versions are affected by CVE-2020-7628?

2 open source packages ship an affected version, including umount. It affects 2 products.

PackageAffectedFixed in
umount npmAll versions to 1.1.6None
umount npmAll versions to 1.1.6None

Products include Install-Package Project Install-Package, Umount Project Umount.

How do I fix CVE-2020-7628?

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

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

Sources

Also known as GHSA-6q48-vjq2-mwcj.

Is CVE-2020-7628 in your software?

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

Check your SBOMs for free