Vulnerabilities · 2020 · Nim-lang
CVE-2020-15693
Nim-lang Nim vulnerability
In Nim 1.2.4, the standard library httpClient is vulnerable to a CR-LF injection in the target URL. An injection is possible if the attacker controls any part of the URL provided in a call (such as httpClient.get or httpClient.post), the User-Agent header value, or custom HTTP header names or values.
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/httpclient. · Patch
- www.openwall.com/lists/oss-security/2021/02/04/2 · Exploit
- consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-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-15693
- cve.org/CVERecord?id=CVE-2020-15693
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.