CVE-2021-21374CWE-348CWE-349CWE-599

Nimble fails to validate certificates due to insecure httpClient defaults

High · published March 26, 2021

CVSS v3.1
8.1
EPSS
1%
Percentile
63.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01040 · 63.7th percentile
Weaknesses
CWE-348 · Use of Less Trusted Source; CWE-349 · Acceptance of Extraneous Untrusted Data With Trusted Data; CWE-599 · Missing Validation of OpenSSL Certificate
Published
2021-03-26T21:25Z
EPSS history
Timeline
  • 26 MAR 21:25Z
    Nimble fails to validate certificates due to insecure httpClient defaults
    cvelistv5