In Nim 1.2.4, the standard library httpClient is vulnerable to a CR-LF injection in the target URL
Published Aug 14, 2020
6.5
MEDIUMCVSS 3.1
EPSS 2.05%
Description
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2021-2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 2.05% (0.02048) | 80.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.05% (0.02048) | 78.64th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.68% (0.00683) | 69.31th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.73% (0.06729) | 85.05th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.44% (0.00441) | 75.10th | v3 (v2023.03.01) |
| Jul 5, 2024 | 0.44% (0.00441) | 75.02th | v3 (v2023.03.01) |
| May 1, 2024 | 0.42% (0.00418) | 73.88th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.36% (0.00361) | 71.47th | v3 (v2023.03.01) |
| Jul 7, 2023 | 0.36% (0.00361) | 68.40th | v3 (v2023.03.01) |
| Apr 4, 2023 | 0.25% (0.00254) | 61.69th | v3 (v2023.03.01) |
| Mar 21, 2023 | 0.23% (0.00232) | 59.58th | v3 (v2023.03.01) |
| Mar 9, 2023 | 0.20% (0.00199) | 56.05th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.17% (0.00166) | 51.48th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.18% (0.07176) | 80.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.50% (0.04504) | 76.47th | v1 |
| Jan 6, 2022 | 4.50% (0.04504) | 76.26th | v1 |
| Sep 1, 2021 | 1.04% (0.01040) | 64.49th | v1 |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (4)
- http://www.openwall.com/lists/oss-security/2021/02/04/2 mailing-listx_refsource_MLISTExploitMailing ListThird Party Advisory
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ x_refsource_MISCExploitThird Party Advisory
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L1023 x_refsource_MISCPatchThird Party Advisory
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html x_refsource_CONFIRMRelease NotesThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2021/02/04/2 | mailing-listx_refsource_MLISTExploitMailing ListThird Party Advisory | |
| https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/ | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L1023 | x_refsource_MISCPatchThird Party Advisory | |
| https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html | x_refsource_CONFIRMRelease NotesThird Party Advisory |
Change history (0)
No recorded changes yet.