Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Opencryptoki Project | Opencryptoki | < 3.17.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2021-3798Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591Issue TrackingPatchThird Party Advisory
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6cPatchThird Party Advisory
- https://github.com/opencryptoki/opencryptoki/pull/402PatchThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-3798Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1990591Issue TrackingPatchThird Party Advisory
- https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6cPatchThird Party Advisory
- https://github.com/opencryptoki/opencryptoki/pull/402PatchThird Party Advisory
FAQ
What is CVE-2021-3798?
CVE-2021-3798 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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. Thi...
How severe is CVE-2021-3798?
CVE-2021-3798 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3798?
Check the references section above for vendor advisories and patch information. Affected products include: Opencryptoki Project Opencryptoki.