CVE-2021-21374
published high CVSS 3.1 · 8.1Nimble fails to validate certificates due to insecure httpClient defaults
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nim-lang | — | security< 1.2.10 · >= 1.4.0, < 1.4.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.2 | nimx86_64 | Advisory build | 1.2.12-lp152.2.3.1 | OPENSUSE-SU-2021:0618-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimaarch64 | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimppc64le | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | nimx86_64 | Advisory build | 1.6.6-bp153.2.3.1 | OPENSUSE-SU-2022:10095-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimaarch64 | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimppc64le | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | nimx86_64 | Advisory build | 1.6.6-bp154.2.3.1 | OPENSUSE-SU-2022:10101-1 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nimaarch64 | Advisory build | 1.2.12-1.7 | OPENSUSE-SU-2024:11093-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimppc64le | Advisory build | 1.2.12-1.7 | OPENSUSE-SU-2024:11093-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nims390x | Advisory build | 1.2.12-1.7 | OPENSUSE-SU-2024:11093-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimx86_64 | Advisory build | 1.2.12-1.7 | OPENSUSE-SU-2024:11093-1 |
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 without full verification of the SSL/TLS certificate due to the default setting of httpClient. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nim-lang | security | < 1.2.10 (affected)>= 1.4.0, < 1.4.4 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-348 CWE-348 Use of Less Trusted Source
- CWE-599 CWE-599: Missing Validation of OpenSSL Certificate
- CWE-349 CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data
References
4Provider assertions
2GitHub_M · cna
Nimble fails to validate certificates due to insecure httpClient defaults
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ebe440bdba0b69c3ab21ee2f672f3902e0d71e3a4f92f674d385549799697758
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record