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

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

Name Vendor Start Version End Version
Nim Nim-lang * 1.4.2 (excluding)
Nim Ubuntu bionic *
Nim Ubuntu esm-apps/bionic *
Nim Ubuntu esm-apps/focal *
Nim Ubuntu focal *
Nim Ubuntu groovy *
Nim Ubuntu lunar *
Nim Ubuntu trusty *
Nim Ubuntu upstream *
Nim Ubuntu xenial *

Potential Mitigations

References