CVE-2020-15694
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2020-15694
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2020-08-14T19:15:12
- Last Modified Date
- 2021-02-08T20:39:36
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:* | 1 | OR | 1.2.6 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html | Release Notes Third Party Advisory |
https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241 | Patch Third Party Advisory |
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 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-15694 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15694 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:23:58 | Added to TrackCVE | |||
2022-12-04 21:04:03 | 2020-08-14T19:15Z | 2020-08-14T19:15:12 | CVE Published Date | updated |
2022-12-04 21:04:03 | 2021-02-08T20:39:36 | CVE Modified Date | updated | |
2022-12-04 21:04:03 | Analyzed | Vulnerability Status | updated |