Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nim-Lang | Nim | <= 1.2.6 |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2021/02/04/1ExploitMailing ListThird Party Advisory
- https://consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/ExploitThird Party Advisory
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/liPatchThird Party Advisory
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.htmlRelease NotesThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/02/04/1ExploitMailing ListThird Party Advisory
- https://consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/ExploitThird Party Advisory
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/liPatchThird Party Advisory
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.htmlRelease NotesThird Party Advisory
FAQ
What is CVE-2020-15692?
CVE-2020-15692 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ...
How severe is CVE-2020-15692?
CVE-2020-15692 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2020-15692?
Check the references section above for vendor advisories and patch information. Affected products include: Nim-Lang Nim.