CVE-2020-15694
publishednim: standard library httpClient fails to properly validate the server response
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimaarch64 | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimppc64le | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimx86_64 | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimaarch64 | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimppc64le | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimx86_64 | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimaarch64 | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nimppc64le | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nims390x | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimx86_64 | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- [oss-security] 20210204 [CVE-2020-15693, CVE-2020-15694] Nim - stdlib Httpclient - Header Crlf Injection & Server Response Validation http://www.openwall.com/lists/oss-security/2021/02/04/2
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e47f0b5fcd92429b80292dce0eb225f164b8849dafb2f8ea82d08f7a7422c879
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record