CVE-2021-3798
publishedopenCryptoki: Soft token does not check if an EC key is valid
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | opencryptokiFixed in v3.17.0 | Affected | Not stated | redhat |
Description
A flaw was found in openCryptoki. The openCryptoki Soft token does not check if an EC key is valid when an EC key is created via C_CreateObject, nor when C_DeriveKey is used with ECDH public data. This may allow a malicious user to extract the private key by performing an invalid curve attack.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | opencryptoki | Fixed in v3.17.0 (affected) | redhat · cna |
Weaknesses
1- CWE-200 CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor
References
4Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c190238d09edee9a514f62d4345553059936c375d571fa19ea8ca1b8acc50654
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record