CVE-2021-21372

Severity CVSS v4.0:
Pending analysis
Type:
CWE-78 OS Command Injections
Publication date:
26/03/2021
Last modified:
24/10/2022

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:* 1.2.10 (excluding)
cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:* 1.4.0 (including) 1.4.4 (excluding)