2024-05-25 21:48:12 +02:00
### [CVE-2020-15694](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15694)



### 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.
### POC
#### Reference
- http://www.openwall.com/lists/oss-security/2021/02/04/2
2024-06-09 00:33:16 +00:00
- http://www.openwall.com/lists/oss-security/2021/02/04/2
2024-05-25 21:48:12 +02:00
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/
2024-06-09 00:33:16 +00:00
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/
2024-05-25 21:48:12 +02:00
#### Github
No PoCs found on GitHub currently.