CVE-2020-15694
JSON

7.5high

In Nim 1.2.4, the standard library httpClient fails to properly validate the server response.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.33% (higher than 84% of CVEs)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
nim-lang nimup to 1.2.6NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

En Nim versión 1.2.4, la biblioteca estándar httpClient presenta un fallo al comprobar apropiadamente la respuesta del servidor. Por ejemplo, httpClient.get().contentLength() no genera ningún error si un servidor malicioso proporciona un Content-Length negativo.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15694 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-15694 changed 2026-06-17Public domain