CVE Vulnerabilities

CVE-2021-29495

Improper Certificate Validation

Published: May 07, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

NameVendorStart VersionEnd Version
NimNim-lang*1.4.2 (excluding)
NimUbuntubionic*
NimUbuntuesm-apps/bionic*
NimUbuntuesm-apps/focal*
NimUbuntufocal*
NimUbuntugroovy*
NimUbuntulunar*
NimUbuntutrusty*
NimUbuntuupstream*
NimUbuntuxenial*

Potential Mitigations

References