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.
References
Link | Resource |
---|---|
https://access.redhat.com/security/cve/CVE-2021-3798 | Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1990591 | Issue Tracking Patch Third Party Advisory |
https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 | Patch Third Party Advisory |
https://github.com/opencryptoki/opencryptoki/pull/402 | Patch Third Party Advisory |
Configurations
History
No history.
Information
Published : 2022-08-23 16:15
Updated : 2023-07-10 19:34
NVD link : CVE-2021-3798
Mitre link : CVE-2021-3798
CVE.ORG link : CVE-2021-3798
JSON object : View
Products Affected
opencryptoki_project
- opencryptoki
CWE