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://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 | Patch Third Party Advisory |
https://github.com/opencryptoki/opencryptoki/pull/402 | Patch Third Party Advisory |
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 |
Configurations
Information
Published : 2022-08-23 09:15
Updated : 2023-02-12 15:42
NVD link : CVE-2021-3798
Mitre link : CVE-2021-3798
JSON object : View
CWE
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor
Products Affected
opencryptoki_project
- opencryptoki