{ "schema_version": "1.4.0", "id": "GHSA-mwjr-9xqh-r2f5", "modified": "2024-04-04T02:55:38Z", "published": "2022-05-24T17:25:43Z", "aliases": [ "CVE-2020-15694" ], "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15694" }, { "type": "WEB", "url": "https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection" }, { "type": "WEB", "url": "https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241" }, { "type": "WEB", "url": "https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2021/02/04/2" } ], "database_specific": { "cwe_ids": [ "CWE-20" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2020-08-14T19:15:00Z" } }