CVE-2021-21372
Published Mar 26, 2021
Last updated 2 years ago
Overview
- 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
- security-advisories@github.com
- NVD status
- Analyzed
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 8.8
- Impact score
- 5.9
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 6.8
- Impact score
- 6.4
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:P/I:P/A:P
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "895C273A-28A1-4592-8A50-9A8FAAD7D98C", "versionEndExcluding": "1.2.10" }, { "criteria": "cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FBDDF104-9FC9-4CED-9F87-26CF1DA2EF4E", "versionEndExcluding": "1.4.4", "versionStartIncluding": "1.4.0" } ], "operator": "OR" } ] } ]