CVE-2021-3798
Opencryptoki Project Opencryptoki vulnerability
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
Opencryptoki. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Opencryptoki Project Opencryptoki runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=1990591 · Patch
- github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 · Patch
- github.com/opencryptoki/opencryptoki/pull/402 · Patch
- access.redhat.com/security/cve/CVE-2021-3798 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-3798
- cve.org/CVERecord?id=CVE-2021-3798
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.