Channel and Path Errors Affecting cryptopp package, versions [0,8.3.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.37% (85th 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-CRYPTOPP-2317800
  • published14 Dec 2021
  • disclosed30 Jul 2019
  • creditUnknown

Introduced: 30 Jul 2019

CVE-2019-14318  (opens in a new tab)
CWE-417  (opens in a new tab)

How to fix?

Upgrade cryptopp to version 8.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Channel and Path Errors. Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This allows a local or remote attacker, able to measure the duration of hundreds to thousands of signing operations, to compute the private key used. The issue occurs because scalar multiplication in ecp.cpp (prime field curves, small leakage) and algebra.cpp (binary field curves, large leakage) is not constant time and leaks the bit length of the scalar among other information.

CVSS Base Scores

version 3.1