Information Exposure Affecting opencryptoki/opencryptoki package, versions [,3.17.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENCRYPTOKIOPENCRYPTOKI-2989720
  • published24 Aug 2022
  • disclosed24 Aug 2022
  • creditUnknown

Introduced: 24 Aug 2022

CVE-2021-3798  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade opencryptoki/opencryptoki to version 3.17.0 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. 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 Base Scores

version 3.1