Vulnerability · Published Aug 14, 2020 · Assigned by mitre
CVE-2020-15694
High 7.5
In plain English
A high-severity security flaw in the nim package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.3%top 16.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
In Nim 1.2.4, the standard library httpClient fails to properly validate the server response. For example, httpClient.get().contentLength() does not raise any error if a malicious server provides a negative Content-Length.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nim | 1.2.6-1 | DEBIAN-CVE-2020-15694 |
| Debian:14 | nim | 1.2.6-1 | DEBIAN-CVE-2020-15694 |
Affected products (as reported)
References
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241 x_refsource_MISC
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html x_refsource_CONFIRM
- [oss-security] 20210204 [CVE-2020-15693, CVE-2020-15694] Nim - stdlib Httpclient - Header Crlf Injection & Server Response Validation mailing-list, x_refsource_MLIST
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ x_refsource_MISC