CVE-2021-3798
MEDIUM
Published Aug 23, 20223y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Published Aug 23, 2022 3y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Information Exposure
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| opencryptoki_project | opencryptoki | * | <3.17.0 |
References 4
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-3798
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1990591
- github.com https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0
- github.com https://github.com/opencryptoki/opencryptoki/pull/402
Remediation
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1990591
- github.com https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0
- github.com https://github.com/opencryptoki/opencryptoki/pull/402