Improper Certificate Validation Affecting nim package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.07% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-NIM-1290706
  • published11 May 2021
  • disclosed7 May 2021

Introduced: 7 May 2021

CVE-2021-29495  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 nim.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nim package and not the nim package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1