Vulnerability · Published Aug 23, 2022 · Assigned by redhat

CVE-2021-3798

Medium 5.5

In plain English

A medium-severity information exposure in opencryptoki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 78.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSopencryptokino fix listedUBUNTU-CVE-2021-3798
Ubuntu:24.04:LTSopencryptokino fix listedUBUNTU-CVE-2021-3798
Ubuntu:25.10opencryptokino fix listedUBUNTU-CVE-2021-3798
Ubuntu:26.04:LTSopencryptokino fix listedUBUNTU-CVE-2021-3798
Ubuntu:26.10opencryptokino fix listedUBUNTU-CVE-2021-3798

Affected products (as reported)

VendorProductVersions
n/a opencryptoki Fixed in v3.17.0

Weakness: CWE-200

References