VDB
CVE-2021-21372
CVE-2021-21372
PUBLISHED
Nimble is a package manager for the Nim programming language. In Nim release version before versions 1.2.10 and 1.4.4, Nimble doCmd is used in different places and can be leveraged to execute arbitrary commands. An attacker can craft a malicious entry in the packages.json package list to trigger code execution.
EPSS 1.79% · 83.1th percentile
Risk Scores
EPSS Score
1.79%
83.1th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:25.10 | nim | 2.2.4-1, 1.6.14-1ubuntu2, 0 |
| Ubuntu:18.04:LTS | nim | 0, 0.17.2-1ubuntu1, 0.17.2-1ubuntu2 |
| Ubuntu:16.04:LTS | nim | *, 0.12.0-2, 0 |
| Ubuntu:20.04:LTS | nim | 1.0.6-1, 0.20.2-1, 1.0.2-1 |
| Ubuntu:24.04:LTS | nim | 1.6.14-1, 1.6.14-1ubuntu2, 1.6.14-1ubuntu1 |
Exploit Intelligence
- https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/ (nist-nvd)
- https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p (circl)
- https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130 (circl)
- https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37 (circl)
Timeline
- Mar 26, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-21372 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-21372 third-party-advisory