Vulnerability · Published Aug 14, 2020 · Assigned by mitre
CVE-2020-15693
Medium 6.5
In plain English
A medium-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.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)2.1%top 18.0% 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 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nim | 1.2.6-1 | DEBIAN-CVE-2020-15693 |
| Debian:14 | nim | 1.2.6-1 | DEBIAN-CVE-2020-15693 |
Affected products (as reported)
References
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L1023 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