Information disclosure in Opencryptoki Project
CVE-2021-3798
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 21.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Opencryptoki Project
- Opencryptoki — versions Fixed in v3.17.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2021-3798 (Third Party Advisory)
- github.com/opencryptoki/opencryptoki/pull/402 (Patch, Third Party Advisory)
- github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965… (Patch, Third Party Advisory)