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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-21373— Nimble falls back to insecure http url when fetching packages

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.

Nimble是开源的Nim编程语言的软件包管理器。 Nimble before versions 1.2.10 and 1.4.4 存在信任管理问题漏洞,攻击者可利用该漏洞可以传递一个修改过的包含恶意软件包的包列表。如果安装并使用了软件包,攻击将升级为不受信任的代码执行。

CVSS 7.5 · High EPSS 1.16% · P66
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-21373

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 falls back to insecure http url when fetching packages
Source: CVE Program / CVE List V5
Vulnerability Description
Nimble is a package manager for the Nim programming language. In Nim release versions before versions 1.2.10 and 1.4.4, "nimble refresh" fetches a list of Nimble packages over HTTPS by default. In case of error it falls back to a non-TLS URL http://irclogs.nim-lang.org/packages.json. An attacker able to perform MitM can deliver a modified package list containing malicious software packages. If the packages are installed and used the attack escalates to untrusted code execution.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L
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
Nimble是开源的Nim编程语言的软件包管理器。 Nimble before versions 1.2.10 and 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-21373

# 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-21373

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

Vendor Advisories for CVE-2021-21373 (1)

Other References for CVE-2021-21373 (2)

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

CVE-2021-21372 8.3 HIGH Nimble arbitrary code execution for specially crafted package metadata
CVE-2021-21374 8.1 HIGH Nimble fails to validate certificates due to insecure httpClient defaults

IV. Related Vulnerabilities

V. Comments for CVE-2021-21373

No comments yet


Leave a comment