CVE-2021-21374 Nimble fails to validate certificates due to insecure httpClient defaults
HighCVSS 8.1
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 3 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/nim(Ubuntu 16.04) | = 0.11.2+dfsg1-4; = 0.12.0-2; All versions | No fix listed | No fix yet |
| ubuntu/nim(Ubuntu 18.04) | = 0.17.2-1ubuntu1; = 0.17.2-1ubuntu2; All versions | No fix listed | No fix yet |
| ubuntu/nim(Ubuntu 20.04) | = 0.20.2-1; = 1.0.2-1; = 1.0.3~rc-1; = 1.0.4-1 +2 more | No fix listed | No fix yet |
| ubuntu/nim(Ubuntu 24.04) | = 1.6.14-1; = 1.6.14-1ubuntu1; = 1.6.14-1ubuntu2; All versions | No fix listed | No fix yet |
| ubuntu/nim(Ubuntu 25.10) | = 1.6.14-1ubuntu2; = 2.2.4-1; All versions | No fix listed | No fix yet |
| ubuntu/nim(Ubuntu 26.04) | = 2.2.4-1; = 2.2.4-2; All versions | No fix listed | No fix yet |
| ubuntu/nim(Ubuntu 26.10) | = 2.2.4-2; = 2.2.10-1; All versions | No fix listed | No fix yet |
| debian/nim(Debian 12) | < 1.4.6+really1.4.2-1 | 1.4.6+really1.4.2-1 | Fixed |
| debian/nim(Debian 14) | < 1.4.6+really1.4.2-1; = 0.11.2+dfsg1-1; = 0.11.2+dfsg1-2; = 0.11.2+dfsg1-3 +51 more | 1.4.6+really1.4.2-1 | Fixed |
| nim-lang nim | < 1.2.10; >= 1.4.0, < 1.4.4 | 1.2.10, 1.4.4 | Fixed |
| nim-lang security | = < 1.2.10; = >= 1.4.0, < 1.4.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nim(Debian:12) | < 1.4.6+really1.4.2-1 | 1.4.6+really1.4.2-1 |
| debian/nim(Debian:14) | < 1.4.6+really1.4.2-1 | 1.4.6+really1.4.2-1 |
| debian/nim(Debian:14) | = 0.11.2+dfsg1-1 | No fix listed |
| debian/nim(Debian:14) | = 0.11.2+dfsg1-2 | No fix listed |
| debian/nim(Debian:14) | = 0.11.2+dfsg1-3 | No fix listed |
| debian/nim(Debian:14) | = 0.11.2+dfsg1-4 | No fix listed |
| debian/nim(Debian:14) | = 0.12.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.12.0-2 | No fix listed |
| debian/nim(Debian:14) | = 0.13.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.14.2-1 | No fix listed |
| debian/nim(Debian:14) | = 0.15.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.15.0-2 | No fix listed |
| debian/nim(Debian:14) | = 0.15.0-3 | No fix listed |
| debian/nim(Debian:14) | = 0.15.2-1 | No fix listed |
| debian/nim(Debian:14) | = 0.15.2-2 | No fix listed |
| debian/nim(Debian:14) | = 0.16.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.17.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.17.0-2 | No fix listed |
| debian/nim(Debian:14) | = 0.17.0-2~bpo9+1 | No fix listed |
| debian/nim(Debian:14) | = 0.17.2-1 | No fix listed |
| debian/nim(Debian:14) | = 0.18.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.18.0-2 | No fix listed |
| debian/nim(Debian:14) | = 0.19.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.19.2-1 | No fix listed |
| debian/nim(Debian:14) | = 0.19.2-2 | No fix listed |
Show 60 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nim(Debian:14) | = 0.19.4-1 | No fix listed |
| debian/nim(Debian:14) | = 0.19.6-1 | No fix listed |
| debian/nim(Debian:14) | = 0.19.6-2 | No fix listed |
| debian/nim(Debian:14) | = 0.20.0-1 | No fix listed |
| debian/nim(Debian:14) | = 0.20.0-2 | No fix listed |
| debian/nim(Debian:14) | = 0.20.2-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.0-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.0-1~bpo10+1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.2-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.2-1~bpo10+1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.2~a-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.2~b-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.2~rc-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.3~rc-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.4-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.4-1~bpo10+1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.5~rc-1 | No fix listed |
| debian/nim(Debian:14) | = 1.0.6-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.0-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.0~rc-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.0~rc2-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.0~rc3-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.1~rc1-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.1~rc2-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.2-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.4-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.6-1 | No fix listed |
| debian/nim(Debian:14) | = 1.2.6~rc1-1 | No fix listed |
| debian/nim(Debian:14) | = 1.4.0-1 | No fix listed |
| debian/nim(Debian:14) | = 1.4.2-1 | No fix listed |
| debian/nim(Debian:14) | = 1.4.6-1 | No fix listed |
| nim-lang nim | < 1.2.10 | 1.2.10 |
| nim-lang nim | >= 1.4.0, < 1.4.4 | 1.4.4 |
| ubuntu/nim(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nim(Ubuntu:26.04) | All versions | No fix listed |
| nim-lang security | = < 1.2.10 | No fix listed |
| nim-lang security | = >= 1.4.0, < 1.4.4 | No fix listed |
| ubuntu/nim(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/nim(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/nim(Ubuntu:16.04) | = 0.11.2+dfsg1-4 | No fix listed |
| ubuntu/nim(Ubuntu:16.04) | = 0.12.0-2 | No fix listed |
| ubuntu/nim(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/nim(Ubuntu:18.04) | = 0.17.2-1ubuntu1 | No fix listed |
| ubuntu/nim(Ubuntu:18.04) | = 0.17.2-1ubuntu2 | No fix listed |
| ubuntu/nim(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/nim(Ubuntu:20.04) | = 0.20.2-1 | No fix listed |
| ubuntu/nim(Ubuntu:20.04) | = 1.0.2-1 | No fix listed |
| ubuntu/nim(Ubuntu:20.04) | = 1.0.3~rc-1 | No fix listed |
| ubuntu/nim(Ubuntu:20.04) | = 1.0.4-1 | No fix listed |
| ubuntu/nim(Ubuntu:20.04) | = 1.0.6-1 | No fix listed |
| ubuntu/nim(Ubuntu:24.04) | = 1.6.14-1 | No fix listed |
| ubuntu/nim(Ubuntu:24.04) | = 1.6.14-1ubuntu1 | No fix listed |
| ubuntu/nim(Ubuntu:24.04) | = 1.6.14-1ubuntu2 | No fix listed |
| ubuntu/nim(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/nim(Ubuntu:25.10) | = 1.6.14-1ubuntu2 | No fix listed |
| ubuntu/nim(Ubuntu:25.10) | = 2.2.4-1 | No fix listed |
| ubuntu/nim(Ubuntu:26.10) | = 2.2.4-2 | No fix listed |
| ubuntu/nim(Ubuntu:26.10) | = 2.2.10-1 | No fix listed |
| ubuntu/nim(Ubuntu:26.04) | = 2.2.4-1 | No fix listed |
| ubuntu/nim(Ubuntu:26.04) | = 2.2.4-2 | No fix listed |
References
- Debian Security Tracker CVE-2021-21374 vendor-advisory
- consensys.net exploit issue-tracking third-party-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- github.com third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking