Timing Attack Affecting cpython package, versions [,3.10.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (19th 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-CONAN-CPYTHON-10075461
  • published8 May 2025
  • disclosed22 Aug 2023
  • creditUnknown

Introduced: 22 Aug 2023

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

How to fix?

Upgrade cpython to version 3.10.0 or higher.

Overview

Affected versions of this package are vulnerable to Timing Attack due to the improper handling of compare_digest. An attacker can introduce timing discrepancies by exploiting the accumulator variable in hmac.compare_digest.

CVSS Base Scores

version 3.1