CVE-2020-15692 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary system commands by passing malicious local file paths to the Nim standard library's browser opening function.

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

What is CVE-2020-15692?

CVE-2020-15692 is a critical command injection vulnerability in n/a, published on 14 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Nim 1.2.4, the standard library browsers mishandles the URL argument to browsers.openDefaultBrowser. This argument can be a local file path that will be opened in the default explorer. An attacker can pass one argument to the underlying open command to execute arbitrary registered system commands.

Weakness: CWE-88

Which versions are affected by CVE-2020-15692?

It affects 1 product.

Products include Nim-Lang Nim.

How do I fix CVE-2020-15692?

Upgrade to a fixed version.

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

Is CVE-2020-15692 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-15692, UBUNTU-CVE-2020-15692.

Is CVE-2020-15692 in your software?

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

Check your SBOMs for free