Improper Input Validation Affecting nim package, versions *
Threat Intelligence
EPSS
0.22% (60th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN10-NIM-608226
- published 22 Aug 2020
- disclosed 14 Aug 2020
Introduced: 14 Aug 2020
CVE-2020-15694 Open this link in a new tabHow to fix?
There is no fixed version for Debian:10
nim
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream nim
package and not the nim
package as distributed by Debian
.
See How to fix?
for Debian:10
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2020-15694
- https://nim-lang.org/blog/2020/07/30/versions-126-and-108-released.html
- https://consensys.net/diligence/vulnerabilities/nim-httpclient-header-crlf-injection/
- https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/httpclient.nim#L241
- http://www.openwall.com/lists/oss-security/2021/02/04/2
CVSS Scores
version 3.1