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

8.3HIGH

Key Information:

Vendor
Nim-lang
Status
Vendor
CVE Published:
26 March 2021

Summary

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 Version(s)

security < 1.2.10 < 1.2.10

security >= 1.4.0, < 1.4.4 < 1.4.0, 1.4.4

References

CVSS V3.1

Score:
8.3
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.