{"id":"CVE-2020-15693","details":"In Nim 1.2.4, the standard library httpClient is vulnerable to a CR-LF injection in the target URL. An injection is possible if the attacker controls any part of the URL provided in a call (such as httpClient.get or httpClient.post), the User-Agent header value, or custom HTTP header names or values.","modified":"2026-07-08T23:34:39.068307Z","published":"2020-08-14T19:15:12.507Z","related":["openSUSE-SU-2022:10095-1","openSUSE-SU-2022:10101-1","openSUSE-SU-2024:12253-1"],"references":[{"type":"ADVISORY","url":"https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html"},{"type":"FIX","url":"https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L1023"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2021/02/04/2"},{"type":"EVIDENCE","url":"https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nim-lang/nim","events":[{"introduced":"0"},{"last_affected":"bf320ed172f74f60fd274338e82bdc9ce3520dd9"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.2.6"}]}}],"versions":["v1.2.6","v1.2.4","v1.2.2","v1.2.0","v1.0.0","v0.20.0","v0.19.0","v0.18.0","v0.17.2","v0.17.0","v0.16.0","v0.15.2","v0.14.2","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.2","v0.11.0","v0.10.2","v0.9.4","v0.9.2","v0.9.0","v0.8.14"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15693.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}