medium5.5
CVE-2021-3798
A flaw was found in openCryptoki.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Opencryptoki Project | Opencryptoki | before 3.17.0 |
Weakness classification
References
- NVD record
- CVE.org record
- https://access.redhat.com/security/cve/CVE-2021-3798
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0
- https://github.com/opencryptoki/opencryptoki/pull/402
- https://access.redhat.com/security/cve/CVE-2021-3798
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0
- https://github.com/opencryptoki/opencryptoki/pull/402