2084AI Security Observatory

CVE

CVE-2022-48566

CVE-2022-48566MED 5.9EPSS 71%

CNA description

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.

Affected versions

All Python (CPython) vulnerabilities →

  • ≥ 3.9.0, < 3.9.1Fixed in 3.9.1
  • ≥ 3.8.0, < 3.8.7Fixed in 3.8.7
  • ≥ 3.7.0, < 3.7.10Fixed in 3.7.10
  • < 3.6.13Fixed in 3.6.13

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.