
CVE catalog
CVE-2021-21372
nim: CVE-2021-21372
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.62% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nim | sid | 2.2.12-1 | fixed |
| Debian | nim | forky | 2.2.12-1 | fixed |
| Debian | nim | bookworm | 1.6.10-2 | fixed |
| Opensuse | nim | leap 15.2 | 1.2.12-lp152.2.3.1 | fixed |
| Suse | nim | package hub 15 sp2 | 1.2.12-bp152.4.3.1 | fixed |
| Opensuse | nim | tumbleweed | 1.2.12-1.7 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nim | source | sid | 1.4.6+really1.4.2-1 | not yet assigned | Not reported | [987272] |
| Debian | nim | source | forky | 1.4.6+really1.4.2-1 | not yet assigned | Not reported | [987272] |
| Debian | nim | source | bookworm | 1.4.6+really1.4.2-1 | not yet assigned | Not reported | [987272] |
| Opensuse | nim | rpm | leap 15.2 | 1.2.12-lp152.2.3.1 | Not reported | OPENSUSE-SU-2021:0618-1 | Not reported |
| Suse | nim | rpm | package hub 15 sp2 | 1.2.12-bp152.4.3.1 | Not reported | OPENSUSE-SU-2021:0628-1 | Not reported |
| Opensuse | nim | rpm | tumbleweed | 1.2.12-1.7 | Not reported | OPENSUSE-SU-2024:11093-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [nim]Fixed
Details (2)
1.6.10-2· amd64 · bookwormFixed · Fixed:
1.4.6+really1.4.2-1dsa · nim · debian · bookworm; dsa · nim · debian · 12
1.6.10-2· arm64 · bookwormFixed · Fixed:
1.4.6+really1.4.2-1dsa · nim · debian · bookworm; dsa · nim · debian · 12
- [nim-doc]Fixed
Source package: [nim]
Details (2)
1.6.10-2· all · bookwormFixed · Fixed:
1.4.6+really1.4.2-1dsa · nim · debian · bookworm; dsa · nim · debian · 12
1.6.10-2· all · bookwormFixed · Fixed:
1.4.6+really1.4.2-1dsa · nim · debian · bookworm; dsa · nim · debian · 12
[openSUSE Tumbleweed]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2021_0618-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-21372]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0618-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0628-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11093-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-21372]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]