7.5

CVE-2020-15694

Exploit
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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Nim-langNim Version <= 1.2.6
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 2.33% 0.813
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd@nist.gov 5 10 2.9
AV:N/AC:L/Au:N/C:N/I:P/A:N
CWE-20 Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

http://www.openwall.com/lists/oss-security/2021/02/04/2
Third Party Advisory
Exploit
Mailing List
https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html
Third Party Advisory
Release Notes
https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/
Third Party Advisory
Exploit
https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241
Patch
Third Party Advisory