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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | opencryptoki | Fixed in v3.17.0 |
References
- https://access.redhat.com/security/cve/CVE-2021-3798Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591Issue Tracking, Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/pull/402Patch, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-3798Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591Issue Tracking, Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0Patch, Third Party Advisory
- https://github.com/opencryptoki/opencryptoki/pull/402Patch, Third Party Advisory
Timeline
- Published
- Aug 23, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified