CVE-2021-29495
published medium CVSS 3.1 · 5.9Nim stdlib httpClient does not validate peer certificates by default
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nim-lang | — | security< 1.4.2 | Affected | Not stated | GitHub_M |
| 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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimaarch64 | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nimppc64le | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nims390x | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nimx86_64 | Advisory build | 1.6.6-3.1 | OPENSUSE-SU-2024:12253-1 |
Description
Nim is a statically typed compiled systems programming language. In Nim standard library before 1.4.2, httpClient SSL/TLS certificate verification was disabled by default. Users can upgrade to version 1.4.2 to receive a patch or, as a workaround, set "verifyMode = CVerifyPeer" as documented.
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
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nim-lang | security | < 1.4.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-295 CWE-295 Improper Certificate Validation
References
1Provider assertions
2GitHub_M · cna
Nim stdlib httpClient does not validate peer certificates by default
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d8b20190c05403dd69c269296b5acf6fb6b285faa0f47a2b43e246d58851fadf
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record