CVE-2020-15694
Nim HttpClient Negative Content-Length Injection Vulnerability
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.
INFO
Published Date :
Aug. 14, 2020, 7:15 p.m.
Last Modified :
Feb. 8, 2021, 8:39 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-15694
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2021/02/04/2 | Exploit Mailing List Third Party Advisory |
https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ | Exploit Third Party Advisory |
https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241 | Patch Third Party Advisory |
https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html | Release Notes Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-15694
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-15694
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Feb. 08, 2021
Action Type Old Value New Value Changed Reference Type http://www.openwall.com/lists/oss-security/2021/02/04/2 No Types Assigned http://www.openwall.com/lists/oss-security/2021/02/04/2 Exploit, Mailing List, Third Party Advisory Changed Reference Type https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ No Types Assigned https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ Exploit, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:nim-lang:nim:1.2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:* versions up to (including) 1.2.6 -
CVE Modified by [email protected]
Feb. 04, 2021
Action Type Old Value New Value Added Reference https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ [No Types Assigned] -
CVE Modified by [email protected]
Feb. 04, 2021
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2021/02/04/2 [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 20, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241 No Types Assigned https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241 Patch, Third Party Advisory Changed Reference Type https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html No Types Assigned https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html Release Notes, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:nim-lang:nim:1.2.4:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-15694
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-15694
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.22 }} 0.03%
score
0.59266
percentile