What’s Vulnerable › Vulnerabilities

CVE-2021-21372: Nimble arbitrary code execution for specially crafted package metadata

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.

Affected products

How to fix

Upgrade to a fixed version: nim-lang Nim 1.2.10, 1.4.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21372 or the next vulnerability affects your stack