Race Condition Affecting python3-test package, versions <0:3.7.10-1.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.15% (63rd 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-AMZN2-PYTHON3TEST-9727105
  • published17 Apr 2025
  • disclosed22 Aug 2023

Introduced: 22 Aug 2023

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

How to fix?

Upgrade Amazon-Linux:2 python3-test to version 0:3.7.10-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2317.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-test package and not the python3-test package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An issue was discovered in compare_digest in Lib/hmac.py in Python through 3.9.1. Constant-time-defeating optimisations were possible in the accumulator variable in hmac.compare_digest.

CVSS Base Scores

version 3.1