CVE-2020-15694

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-15694
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-15694.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-15694
Related
Published
2020-08-14T19:15:12Z
Modified
2024-10-12T06:13:38.830397Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / nim

Package

Name
nim
Purl
pkg:deb/debian/nim?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / nim

Package

Name
nim
Purl
pkg:deb/debian/nim?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/nim-lang/nim

Affected ranges

Type
GIT
Repo
https://github.com/nim-lang/nim
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v0.*

v0.10.2
v0.11.0
v0.11.2
v0.12.0
v0.13.0
v0.14.0
v0.14.2
v0.15.0
v0.15.2
v0.16.0
v0.17.0
v0.17.2
v0.18.0
v0.19.0
v0.20.0
v0.8.14
v0.9.0
v0.9.2
v0.9.4
v0.9.6

v1.*

v1.0.0
v1.2.0
v1.2.2
v1.2.4
v1.2.6