VDB
CVE-2020-15694
CVE-2020-15694
PUBLISHED
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.
EPSS 1.09% · 78.3th percentile
Risk Scores
EPSS Score
1.09%
78.3th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | nim | 0, 0.17.2-1ubuntu1, 0.17.2-1ubuntu2 |
| Ubuntu:20.04:LTS | nim | 1.0.6-1, 1.0.2-1, 1.0.3~rc-1 |
| Ubuntu:16.04:LTS | nim | 0.12.0-2, 0, 0.11.2+dfsg1-4 |
Exploit Intelligence
- http://www.openwall.com/lists/oss-security/2021/02/04/2 (nist-nvd)
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ (nist-nvd)
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241 (circl)
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html (circl)
Timeline
- Aug 14, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-15694 third-party-advisory
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241 third-party-advisory
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-15694 third-party-advisory