Timing Attack Affecting cryptopp package, versions [0,8.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (67th 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-5861008
  • published28 Aug 2023
  • disclosed22 Aug 2023
  • creditDaniel McRobb

Introduced: 22 Aug 2023

CVE-2022-48570  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade cryptopp to version 8.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack via the FixedSizeAllocatorWithCleanup function. Exploiting this vulnerability allows the attacker to write memory outside the allocated space by misaligning the 16-byte memory allocation.

Note: This issue exists because the CVE-2019-14318 fix was intentionally removed for functionality reasons.

CVSS Base Scores

version 3.1