Skip to content
OpenAdvisories
Unscored CVE-2020-15694 EUVD-2020-7681GHSA-mwjr-9xqh-r2f5

In Nim 1.2.4, the standard library httpClient fails to properly validate the server response. For example, httpClient.get().contentLength()…

Published Aug 14, 2020 · Updated Aug 4, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nim 1.2.6-1 —
Debian 12 nim 1.2.6-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS nim No fix yet —
Ubuntu 18.04 LTS nim No fix yet —
Ubuntu 16.04 LTS nim No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 nim 1.6.6-bp154.2.3.1 openSUSE-SU-2022:10101-1
SUSE Package Hub 15 SP3 nim 1.6.6-bp153.2.3.1 openSUSE-SU-2022:10095-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nim 1.6.6-3.1 openSUSE-SU-2024:12253-1
openSUSE Leap 15.4 nim 1.6.6-bp154.2.3.1 openSUSE-SU-2022:10101-1
openSUSE Leap 15.3 nim 1.6.6-bp153.2.3.1 openSUSE-SU-2022:10095-1

Advisories 3

References