CVE-2021-21372: Nim-Lang Nim
High severity, CVSS 8.8. EPSS: 3.6% chance of exploitation in the next 30 days.
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.
Affected products
- Nim-Lang Nim: before 1.2.10 (fixed in 1.2.10); from 1.4.0, before 1.4.4 (fixed in 1.4.4)
Published 2021-03-26. Last modified 2026-06-17.