CVE-2021-21373
published high CVSS 3.1 · 7.5Nimble falls back to insecure http url when fetching packages
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 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.
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
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/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
1- CWE-348 CWE-348 Use of Less Trusted Source
References
3Provider assertions
2GitHub_M · cna
Nimble falls back to insecure http url when fetching packages
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6ddabe16789aa830399c8c02294a25de96fa0d48dc132653830334b9b2e0ef85
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record