CVE-2021-21372
Last modified
CVE-2021-21372 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 3.64% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nim-Lang | Nim | < 1.2.10 |
| Nim-Lang | Nim | >= 1.4.0, < 1.4.4 |
References
- https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/Exploit, Third Party Advisory
- https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130Release Notes, Third Party Advisory
- https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37Patch, Third Party Advisory
- https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962pThird Party Advisory
- https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/Exploit, Third Party Advisory
- https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130Release Notes, Third Party Advisory
- https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37Patch, Third Party Advisory
- https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962pThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-21372?
How severe is CVE-2021-21372?
How do I fix CVE-2021-21372?
Are you affected by CVE-2021-21372?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
