CVE-2020-15692 json
In Nim 1.2.4, the standard library browsers mishandles the URL argument to browsers.openDefaultBrowser.
published 6y ago modified 4mo ago also EUVD-2020-7679
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nim Debian 14, Debian 12 1.2.6-1
debian advisories DEBIAN-CVE-2020-15692
- nim openSUSE Tumbleweed 1.6.6-3.1
- nim Package Hub 15 SP4, openSUSE Leap 15.4 1.6.6-bp154.2.3.1
- nim Package Hub 15 SP3, openSUSE Leap 15.3 1.6.6-bp153.2.3.1
opensuse advisories openSUSE-SU-2024:12253-1openSUSE-SU-2022:10101-1openSUSE-SU-2022:10095-1
Is CVE-2020-15692 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-15692 updated cvss 9.8
nim: mishandling the URL argument to browsers.openDefaultBrowser could lead to arbitrary command execution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.21% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2021/02/04/1 referenced PoC, tagged "exploit" by a source, unverified
- consensys.net https://consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
References
-
github.com
/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/browsers.nim#L48
patch, third-party-advisory
-
openwall.com
/lists/oss-security/2021/02/04/1
mailing-list, exploit, third-party-advisory
-
consensys.net
/diligence/vulnerabilities/nim-browsers-argument-injection/
exploit, third-party-advisory
-
nim-lang.org
/blog/2020/07/30/versions-126-and-108-released.html
release-notes, third-party-advisory
Sources
- CVE List CVE-2020-15692
- NVD CVE-2020-15692
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.