CVE-2020-15692
publishednim: mishandling the URL argument to browsers.openDefaultBrowser could lead to arbitrary command execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimaarch64 | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimppc64le | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimx86_64 | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimaarch64 | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimppc64le | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimx86_64 | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimaarch64 | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nimppc64le | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nims390x | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimx86_64 | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- [oss-security] 20210204 [CVE-2020-15692] Nim - stdlib Browsers - `open` Argument Injection http://www.openwall.com/lists/oss-security/2021/02/04/1
- https://consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/browsers.nim#L48
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 68e907e86be96fe5f08c04be6919f85ccd0c6079f71fc304cd2dc8b0cd47b043
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record