CVE-2021-21372
CVSS V2 Medium 6.8
CVSS V3 High 8.8
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.
Overview
- CVE ID
- CVE-2021-21372
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-26T22:15:12
- Last Modified Date
- 2022-10-24T17:14:16
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:* | 1 | OR | 1.2.10 | |
cpe:2.3:a:nim-lang:nim:*:*:*:*:*:*:*:* | 1 | OR | 1.4.0 | 1.4.4 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/nim-lang/nimble/blob/master/changelog.markdown#0130 | Release Notes Third Party Advisory |
https://github.com/nim-lang/security/security/advisories/GHSA-rg9f-w24h-962p | Third Party Advisory |
https://github.com/nim-lang/nimble/commit/7bd63d504a4157b8ed61a51af47fb086ee818c37 | Patch Third Party Advisory |
https://consensys.net/diligence/vulnerabilities/nim-insecure-ssl-tls-defaults-remote-code-execution/ | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21372 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21372 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:17:37 | Added to TrackCVE | |||
2022-12-06 00:33:42 | 2021-03-26T22:15Z | 2021-03-26T22:15:12 | CVE Published Date | updated |
2022-12-06 00:33:42 | 2022-10-24T17:14:16 | CVE Modified Date | updated | |
2022-12-06 00:33:42 | Analyzed | Vulnerability Status | updated |