Improper input validation in Nim-lang Nim

CVE-2020-15694

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.023 (81.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory, Release Notes)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Exploit, Mailing List, Third Party Advisory)
  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2020-15694?
CVE-2020-15694 is a high-severity vulnerability in Nim-lang Nim, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2020-08-14.
How severe is CVE-2020-15694?
High severity. CVSS v3 base score is 7.5 out of 10.