PT-2020-14589
CVE-2020-15694
·
Published
2020-08-14
·
Updated
2024-06-15
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Nim version 1.2.4
Description
The standard library httpClient in Nim fails to properly validate the server response. For instance,
httpClient.get().contentLength() does not raise an error if a malicious server provides a negative Content-Length.Recommendations
For Nim version 1.2.4, consider validating server responses manually to ensure the Content-Length is not negative until a patch is available. As a temporary workaround, restrict the use of
httpClient.get().contentLength() to minimize the risk of exploitation.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾