CVE-2022-48566
publishedpython: constant-time-defeating optimisations issue in the compare_digest function in Lib/hmac.p
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2317 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2400 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2PYTHON3.8-2023-007 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | python2.7 | Advisory build | 2.7.16-2+deb10u3 | DLA-3575-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0aarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| Debian | buster | python3.7 | Advisory build | 3.7.3-2+deb10u6 | DLA-3614-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0ppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0s390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0x86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bits390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bitx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bits390x | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bitx86_64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythons390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bits390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bitx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-bases390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-basex86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bits390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bitx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursess390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demos390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demox86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-devels390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-docnoarch | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-doc-pdfnoarch | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbms390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idles390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idlex86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tks390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlaarch64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlppc64le | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmls390x | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlx86_64 | Advisory build | 2.7.18-33.26.1 | SUSE-SU-2023:4001-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36aarch64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36ppc64le | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36s390x | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36x86_64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseaarch64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseppc64le | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-bases390x | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-basex86_64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develaarch64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develppc64le | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-devels390x | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develx86_64 | Advisory build | 3.6.15-55.1 | SUSE-SU-2024:1847-1 |
| SUSE / openSUSE | SLE-15-SP3 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | libpython3_6m1_0s390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3aarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3ppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3s390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3x86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-baseaarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-baseppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-bases390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-basex86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-cursesaarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-cursesppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-cursess390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-cursesx86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-dbmaarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-dbmppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-dbms390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-dbmx86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-develaarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-develppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-devels390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-develx86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-idleaarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-idleppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-idles390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-idlex86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-tkaarch64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-tkppc64le | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-tks390x | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-tkx86_64 | Advisory build | 3.6.15-150300.10.57.1 | SUSE-SU-2024:0901-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- https://bugs.python.org/issue40791
- [debian-lts-announce] 20230920 [SECURITY] [DLA 3575-1] python2.7 security update https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- [debian-lts-announce] 20231011 [SECURITY] [DLA 3614-1] python3.7 security update https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- https://security.netapp.com/advisory/ntap-20231006-0013/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4b41f8672733a3a67c857a1298dd61f460c08310c90efa9a5b922879b69edd1f
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record