CVE-2021-21373
CVSS V2 Medium 4.3
CVSS V3 Medium 5.9
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.
Overview
- CVE ID
- CVE-2021-21373
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-26T22:15:12
- Last Modified Date
- 2021-03-31T15:52:09
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:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5.9
- Base Severity
- MEDIUM
- Exploitability Score
- 2.2
- Impact Score
- 3.6
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-8w52-r35x-rgp8 | 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-21373 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21373 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:17:37 | Added to TrackCVE | |||
2022-12-06 00:33:46 | 2021-03-26T22:15Z | 2021-03-26T22:15:12 | CVE Published Date | updated |
2022-12-06 00:33:46 | 2021-03-31T15:52:09 | CVE Modified Date | updated | |
2022-12-06 00:33:46 | Analyzed | Vulnerability Status | updated |