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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-21367Switchboard Bluetooth Plug for elementary OS from version 2.…8.1
- CVE-2021-21368msgpack5 is a msgpack v5 implementation for node.js and the …8.8
- CVE-2021-21369Hyperledger Besu is an open-source, MainNet compatible, Ethe…6.5
- CVE-2021-2137Vulnerability in the Enterprise Manager Base Platform produc…8.8
- CVE-2021-21370TYPO3 is an open source PHP based web content management sys…5.4
- CVE-2021-21371Tenable for Jira Cloud is an open source project designed to…8.6
- CVE-2021-21373Nimble is a package manager for the Nim programming language…5.9
- CVE-2021-21374Nimble is a package manager for the Nim programming language…8.1
- CVE-2021-21375PJSIP is a free and open source multimedia communication lib…6.5
- CVE-2021-21376OMERO.web is open source Django-based software for managing …6.5
- CVE-2021-21377OMERO.web is open source Django-based software for managing …5.4
- CVE-2021-21378Envoy is a cloud-native high-performance edge/middle/service…8.2
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
