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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (41st 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-1244855
  • published12 Apr 2021
  • disclosed26 Mar 2021

Introduced: 26 Mar 2021

CVE-2021-21373  (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 by default. In case of error it falls back to a non-TLS URL http://irclogs.nim-lang.org/packages.json. 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