CVE-2021-21374
mediumpriority · track · 32EPSS 0.010 · 64 %ileEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/cnnvd
- https://github.com/nim-lang/Nim/pull/16940cnnvd
- https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130cnnvd
- https://github.com/nim-lang/security/security/advisories/GHSA-c2wm-v66h-xhxxcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21374cnnvd
- https://vigilance.fr/vulnerability/Nimble-three-vulnerabilities-35156cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021042938cnnvd
- https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan