Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15693
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:54 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-15693
Complete source record
{
"id": "9b0a3c4fcd64294d1bc77ec662051ccfefcfc703be61522cd519e260d1bafb6a",
"url": "https://osv.dev/vulnerability/CVE-2020-15693",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15693",
"summary": "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.",
"evidence": "osv:CVE-2020-15693",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-15693",
"aliases": [
"CVE-2020-15693"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nim-lang/nim",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "bf320ed172f74f60fd274338e82bdc9ce3520dd9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-20T10:52:02.851429646Z",
"provider": "osv",
"references": [
"https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html",
"https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L1023",
"https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15693",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383223,
"published_at": "2020-08-14T19:15:12.507+00:00"
}