Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
nim-lang security
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nim是Nim社区的一种静态类型的编程语言。Nimble是开源的Nim编程语言的软件包管理器。 Nimble 1.2.10 版本和 1.4.4 版本存在操作系统命令注入漏洞,攻击者可利用该漏洞可以在包中创建一个恶意条目,执行任意命令。

CVSS 8.3 · High EPSS 3.62% · P89

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-21372

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Nimble arbitrary code execution for specially crafted package metadata
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Nimble 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nim是Nim社区的一种静态类型的编程语言。Nimble是开源的Nim编程语言的软件包管理器。 Nimble 1.2.10 版本和 1.4.4 版本存在操作系统命令注入漏洞,攻击者可利用该漏洞可以在包中创建一个恶意条目,执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nim-lang security < 1.2.10 -

II. Public POCs for CVE-2021-21372

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-21372

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-21372 (1)

Vendor Advisories for CVE-2021-21372 (1)

Other References for CVE-2021-21372 (2)

Same Patch Batch · nim-lang · 2021-03-26 · 3 CVEs total

CVE-2021-21374 8.1 HIGH Nimble fails to validate certificates due to insecure httpClient defaults
CVE-2021-21373 7.5 HIGH Nimble falls back to insecure http url when fetching packages

IV. Related Vulnerabilities

V. Comments for CVE-2021-21372

No comments yet


Leave a comment