VDB
CVE-2021-21374
CVE-2021-21374
PUBLISHED
CVSS 8.100000381469727 HIGH
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.
EPSS 1.04% · 61.4th percentile
Risk Scores
CVSS 3.1
8.100000381469727
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
1.04%
61.4th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | nim | 0, 0.17.2-1ubuntu1, 0.17.2-1ubuntu2 |
| Ubuntu:24.04:LTS | nim | 0, 1.6.14-1, 1.6.14-1ubuntu1 |
| Ubuntu:16.04:LTS | nim | 0.11.2+dfsg1-4, 0.12.0-2, 0 |
| Ubuntu:20.04:LTS | nim | 1.0.4-1, 1.0.6-1, 0 |
| Ubuntu:25.10 | nim | 0, 2.2.4-1, 1.6.14-1ubuntu2 |
Timeline
- Mar 26, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 25, 2021 EPSS Score
- Dec 28, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Mar 1, 2022 EPSS Score
- May 3, 2022 EPSS Score
- Jul 5, 2022 EPSS Score
- Sep 6, 2022 EPSS Score
- Nov 8, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-21374 third-party-advisory
- https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/ third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-21374 third-party-advisory