#VU45739 Input validation error in nim - CVE-2020-15694
Published: August 17, 2020
Vulnerability identifier: #VU45739
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-15694
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
nim
nim
Software vendor:
nim-lang.org
nim-lang.org
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of server responses in the standard library httpClient. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack or force the application to perform unexpected actions as demonstrated by the httpClient.get().contentLength() that does not raise any error if a malicious server provides a negative Content-Length.
Remediation
Install updates from vendor's website.