Vulnerability Details : 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 category: Information leak
Products affected by CVE-2021-3798
- cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3798
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 11 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3798
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-3798
-
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.Assigned by: secalert@redhat.com (Secondary)
-
The product does not validate, or incorrectly validates, a certificate.Assigned by: nvd@nist.gov (Secondary)
References for CVE-2021-3798
-
https://github.com/opencryptoki/opencryptoki/pull/402
SOFT: Check the EC Key on C_CreateObject and C_DeriveKey by ifranzki · Pull Request #402 · opencryptoki/opencryptoki · GitHubPatch;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1990591
1990591 – (CVE-2021-3798) CVE-2021-3798 openCryptoki: Soft token does not check if an EC key is validIssue Tracking;Patch;Third Party Advisory
-
https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0
SOFT: Check the EC Key on C_CreateObject and C_DeriveKey · opencryptoki/opencryptoki@4e3b43c · GitHubPatch;Third Party Advisory
-
https://access.redhat.com/security/cve/CVE-2021-3798
CVE-2021-3798- Red Hat Customer PortalThird Party Advisory
Jump to