Vulnerabilities · 2020 · Nim-lang
CVE-2020-15692
Nim-lang Nim vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Nim. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nim-lang Nim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/browsers.ni · Patch
- www.openwall.com/lists/oss-security/2021/02/04/1 · Exploit
- consensys.net/diligence/vulnerabilities/nim-browsers-argument-injection/ · Exploit
- nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-15692
- cve.org/CVERecord?id=CVE-2020-15692
More vulnerabilities in Nim-lang products
CVE-2022-23602CVE-2021-46872CVE-2021-29495CVE-2021-21374CVE-2021-21373CVE-2021-21372CVE-2020-23171CVE-2020-15694All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.