CVE-2020-15694

NameCVE-2020-15694
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nim (PTS)buster0.19.4-1vulnerable
bullseye1.4.6+really1.4.2-2fixed
bookworm1.6.10-2fixed
trixie1.6.14-1fixed
sid1.6.14-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nimsource(unstable)1.2.6-1

Notes

[buster] - nim <no-dsa> (Minor issue)
[stretch] - nim <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2021/02/04/2

Search for package or bug name: Reporting problems