CVE-2021-29495 MEDIUM

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

Vendor Nim-Lang
Product security
Weakness CWE-295
Published May 7, 2021
Last update August 3, 2024

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 7, 2021 CVE published
August 3, 2024 Record updated