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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:*

History

10 Jul 2023, 19:34

Type Values Removed Values Added
CWE CWE-200 NVD-CWE-Other

12 Feb 2023, 23:42

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHBA-2021:3054', 'name': 'https://access.redhat.com/errata/RHBA-2021:3054', 'tags': [], 'refsource': 'MISC'}
CWE CWE-295 CWE-200

02 Feb 2023, 21:21

Type Values Removed Values Added
References
  • (MISC) https://access.redhat.com/errata/RHBA-2021:3054 -

29 Aug 2022, 18:18

Type Values Removed Values Added
References (MISC) https://github.com/opencryptoki/opencryptoki/pull/402 - (MISC) https://github.com/opencryptoki/opencryptoki/pull/402 - Patch, Third Party Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1990591 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1990591 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 - (MISC) https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 - Patch, Third Party Advisory
References (MISC) https://access.redhat.com/security/cve/CVE-2021-3798 - (MISC) https://access.redhat.com/security/cve/CVE-2021-3798 - Third Party Advisory
CWE CWE-295
First Time Opencryptoki Project
Opencryptoki Project opencryptoki
CPE cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

23 Aug 2022, 17:04

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-23 16:15

Updated : 2023-12-10 14:35


NVD link : CVE-2021-3798

Mitre link : CVE-2021-3798

CVE.ORG link : CVE-2021-3798


JSON object : View

Products Affected

opencryptoki_project

  • opencryptoki
CWE
NVD-CWE-Other CWE-200

Exposure of Sensitive Information to an Unauthorized Actor