Input validation error in nim - CVE-2020-15694

 

Input validation error in nim - CVE-2020-15694

Published: August 17, 2020


Vulnerability identifier: #VU45739
CSH Severity: Medium
CVSS v4: 5.1 [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]
CVE-ID: CVE-2020-15694
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

nim

How to mitigate CVE-2020-15694

Install updates from vendor's website.

nim - update to 1.2.6

External References

Related Security Bulletins