Improper Certificate Validation Affecting nim package, versions <1.4.6+really1.4.2-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.21% (59th 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-DEBIANUNSTABLE-NIM-1244853
  • published12 Apr 2021
  • disclosed26 Mar 2021

Introduced: 26 Mar 2021

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

How to fix?

Upgrade Debian:unstable nim to version 1.4.6+really1.4.2-1 or higher.

NVD Description

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

Nimble is a package manager for the Nim programming language. In Nim release versions before versions 1.2.10 and 1.4.4, "nimble refresh" fetches a list of Nimble packages over HTTPS without full verification of the SSL/TLS certificate due to the default setting of httpClient. An attacker able to perform MitM can deliver a modified package list containing malicious software packages. If the packages are installed and used the attack escalates to untrusted code execution.

CVSS Scores

version 3.1