CVEvulnerability
CVE-2021-3798
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-08-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-200
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.
Affected configurations
• opencryptoki project opencryptoki (< 3.17.0)
Related
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- 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
- 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