Vulnerability 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.
CVSS Score
MEDIUM
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/2ExploitMailing ListThird Party Advisory
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injecExploitThird 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/2ExploitMailing ListThird Party Advisory
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injecExploitThird 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-15693?
CVE-2020-15693 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ht...
How severe is CVE-2020-15693?
CVE-2020-15693 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-15693?
Check the references section above for vendor advisories and patch information. Affected products include: Nim-Lang Nim.