What’s Vulnerable › Vulnerabilities

CVE-2021-29495: Nim stdlib httpClient does not validate peer certificates by default

Description

Nim is a statically typed compiled systems programming language. In Nim standard library before 1.4.2, httpClient SSL/TLS certificate verification was disabled by default. Users can upgrade to version 1.4.2 to receive a patch or, as a workaround, set "verifyMode = CVerifyPeer" as documented.

Affected products

How to fix

Upgrade to a fixed version: nim-lang Nim 1.4.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-29495 or the next vulnerability affects your stack