CVE-2021-21372

HIGH

Nim < 1.2.10 - Remote Code Execution via Nimble doCmd Command Injection

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 8.3
EPSS 0.0364
EPSS Percentile 88.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Details

CWE
CWE-20 CWE-74 CWE-78
Status published
Products (1)
nim-lang/nim < 1.2.10
Published Mar 26, 2021
Tracked Since Feb 18, 2026