Vulnerability · Published Aug 14, 2020 · Assigned by mitre
CVE-2020-15692
Critical 9.8
In plain English
A critical-severity security flaw in the nim package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.2% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)4.2%top 9.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nim | 1.2.6-1 | DEBIAN-CVE-2020-15692 |
| Debian:14 | nim | 1.2.6-1 | DEBIAN-CVE-2020-15692 |
Affected products (as reported)
References
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/browsers.nim#L48 x_refsource_MISC
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html x_refsource_CONFIRM
- [oss-security] 20210204 [CVE-2020-15692] Nim - stdlib Browsers - `open` Argument Injection mailing-list, x_refsource_MLIST
- https://consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/ x_refsource_MISC