CVEfocus › CVE database › CVE-2022-48566

CVE-2022-48566

CVSS 5.9 MediumEPSS 0.8% (higher than 55% of CVEs)Published 2023-08-22Updated 2024-10-03Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
9Fix pending
20Will not fix
129Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04python3.12Not affected
vulnerable_code_not_present
Ubuntu 22.04python2.7Fixed2.7.18-13ubuntu1.5UBUNTU-CVE-2022-48566
Ubuntu 22.04python3.10Not affected
vulnerable_code_not_present
Ubuntu 20.04python2.7Fixed2.7.18-1~20.04.7UBUNTU-CVE-2022-48566
Ubuntu 20.04python3.8Fixed3.8.10-0ubuntu1~20.04UBUNTU-CVE-2022-48566
Ubuntu 18.04python2.7Fix pending2.7.17-1~18.04ubuntu1.13+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-48566
Ubuntu 18.04python3.6Fix pending3.6.9-1~18.04ubuntu1.13+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-48566
Ubuntu 18.04python3.7Fix pending3.7.5-2ubuntu1~18.04.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2022-48566
Ubuntu 18.04python3.8Fix pending3.8.0-3ubuntu1~18.04.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-48566
Ubuntu 16.04python2.7Fix pending2.7.12-1ubuntu0~16.04.18+esm7 (Ubuntu Pro)UBUNTU-CVE-2022-48566
Ubuntu 16.04python3.5Fix pending3.5.2-2ubuntu0~16.04.13+esm11 (Ubuntu Pro)UBUNTU-CVE-2022-48566
Ubuntu 14.04python2.7Fix pendingUBUNTU-CVE-2022-48566
Ubuntu 14.04python3.4Fix pendingUBUNTU-CVE-2022-48566
Ubuntu 14.04python3.5Fix pending3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-48566
Debian 14pypy3Fixed7.3.5+dfsg-2DEBIAN-CVE-2022-48566
Debian 13pypy3Fixed7.3.5+dfsg-2DEBIAN-CVE-2022-48566
Debian 12pypy3Fixed7.3.5+dfsg-2DEBIAN-CVE-2022-48566
Red Hat Enterprise Linux 9python-unversioned-commandNot affected
Red Hat Enterprise Linux 9python3Not affected
Red Hat Enterprise Linux 9python3-debugNot affected
Red Hat Enterprise Linux 9python3-develNot affected
Red Hat Enterprise Linux 9python3-idleNot affected
Red Hat Enterprise Linux 9python3-libsNot affected
Red Hat Enterprise Linux 9python3-testNot affected
Red Hat Enterprise Linux 9python3-tkinterNot affected
Red Hat Enterprise Linux 9python3.11Not affected
Red Hat Enterprise Linux 9python3.11-debugNot affected
Red Hat Enterprise Linux 9python3.11-develNot affected
Red Hat Enterprise Linux 9python3.11-idleNot affected
Red Hat Enterprise Linux 9python3.11-libsNot affected
Red Hat Enterprise Linux 9python3.11-testNot affected
Red Hat Enterprise Linux 9python3.11-tkinterNot affected
Red Hat Enterprise Linux 9python3.9Not affected
Red Hat Enterprise Linux 8PyYAMLNot affected
Red Hat Enterprise Linux 8mod_wsgiNot affected
Red Hat Enterprise Linux 8numpyNot affected
Red Hat Enterprise Linux 8platform-pythonNot affected
Red Hat Enterprise Linux 8platform-python-debugNot affected
Red Hat Enterprise Linux 8platform-python-develNot affected
Red Hat Enterprise Linux 8python-PyMySQLNot affected
Red Hat Enterprise Linux 8python-cffiNot affected
Red Hat Enterprise Linux 8python-chardetNot affected
Red Hat Enterprise Linux 8python-cryptographyNot affected
Red Hat Enterprise Linux 8python-distroNot affected
Red Hat Enterprise Linux 8python-docsNot affected
Red Hat Enterprise Linux 8python-docutilsNot affected
Red Hat Enterprise Linux 8python-idnaNot affected
Red Hat Enterprise Linux 8python-lxmlNot affected
Red Hat Enterprise Linux 8python-noseNot affected
Red Hat Enterprise Linux 8python-nose-docsNot affected
Red Hat Enterprise Linux 8python-plyNot affected
Red Hat Enterprise Linux 8python-psutilNot affected
Red Hat Enterprise Linux 8python-psycopg2Not affected
Red Hat Enterprise Linux 8python-pycparserNot affected
Red Hat Enterprise Linux 8python-pygmentsNot affected
Red Hat Enterprise Linux 8python-pymongoNot affected
Red Hat Enterprise Linux 8python-pymongo-docNot affected
Red Hat Enterprise Linux 8python-pysocksNot affected
Red Hat Enterprise Linux 8python-requestsNot affected
Red Hat Enterprise Linux 8python-sqlalchemyNot affected
Red Hat Enterprise Linux 8python-sqlalchemy-docNot affected
Red Hat Enterprise Linux 8python-tomlNot affected
Red Hat Enterprise Linux 8python-urllib3Not affected
Red Hat Enterprise Linux 8python-virtualenvNot affected
Red Hat Enterprise Linux 8python-virtualenv-docNot affected
Red Hat Enterprise Linux 8python-wheelNot affected
Red Hat Enterprise Linux 8python2Not affected
Red Hat Enterprise Linux 8python2-debugNot affected
Red Hat Enterprise Linux 8python2-develNot affected
Red Hat Enterprise Linux 8python2-libsNot affected
Red Hat Enterprise Linux 8python2-testNot affected
Red Hat Enterprise Linux 8python2-tkinterNot affected
Red Hat Enterprise Linux 8python2-toolsNot affected
Red Hat Enterprise Linux 8python3Not affected
Red Hat Enterprise Linux 8python3-PyMySQLNot affected
Red Hat Enterprise Linux 8python3-bsonNot affected
Red Hat Enterprise Linux 8python3-distroNot affected
Red Hat Enterprise Linux 8python3-docsNot affected
Red Hat Enterprise Linux 8python3-docutilsNot affected
Red Hat Enterprise Linux 8python3-idleNot affected
Red Hat Enterprise Linux 8python3-libsNot affected
Red Hat Enterprise Linux 8python3-noseNot affected
Red Hat Enterprise Linux 8python3-pygmentsNot affected
Red Hat Enterprise Linux 8python3-pymongoNot affected
Red Hat Enterprise Linux 8python3-pymongo-gridfsNot affected
Red Hat Enterprise Linux 8python3-scipyNot affected
Red Hat Enterprise Linux 8python3-sqlalchemyNot affected
Red Hat Enterprise Linux 8python3-testNot affected
Red Hat Enterprise Linux 8python3-tkinterNot affected
Red Hat Enterprise Linux 8python3-virtualenvNot affected
Red Hat Enterprise Linux 8python3-wheelNot affected
Red Hat Enterprise Linux 8python3-wheel-wheelNot affected
Red Hat Enterprise Linux 8python3.11Not affected
Red Hat Enterprise Linux 8python3.11-debugNot affected
Red Hat Enterprise Linux 8python3.11-develNot affected
Red Hat Enterprise Linux 8python3.11-idleNot affected
Red Hat Enterprise Linux 8python3.11-libsNot affected
Red Hat Enterprise Linux 8python3.11-rpm-macrosNot affected
Red Hat Enterprise Linux 8python3.11-testNot affected
Red Hat Enterprise Linux 8python3.11-tkinterNot affected
Red Hat Enterprise Linux 8python36Not affected
Red Hat Enterprise Linux 8python36-debugNot affected
Red Hat Enterprise Linux 8python36-develNot affected
Red Hat Enterprise Linux 8python36-rpm-macrosNot affected
Red Hat Enterprise Linux 8python39Not affected
Red Hat Enterprise Linux 8python39-PyMySQLNot affected
Red Hat Enterprise Linux 8python39-cffiNot affected
Red Hat Enterprise Linux 8python39-chardetNot affected
Red Hat Enterprise Linux 8python39-cryptographyNot affected
Red Hat Enterprise Linux 8python39-develNot affected
Red Hat Enterprise Linux 8python39-idleNot affected
Red Hat Enterprise Linux 8python39-idnaNot affected
Red Hat Enterprise Linux 8python39-libsNot affected
Red Hat Enterprise Linux 8python39-lxmlNot affected
Red Hat Enterprise Linux 8python39-mod_wsgiNot affected
Red Hat Enterprise Linux 8python39-numpyNot affected
Red Hat Enterprise Linux 8python39-numpy-docNot affected
Red Hat Enterprise Linux 8python39-numpy-f2pyNot affected
Red Hat Enterprise Linux 8python39-pipNot affected
Red Hat Enterprise Linux 8python39-pip-wheelNot affected
Red Hat Enterprise Linux 8python39-plyNot affected
Red Hat Enterprise Linux 8python39-psutilNot affected
Red Hat Enterprise Linux 8python39-psycopg2Not affected
Red Hat Enterprise Linux 8python39-psycopg2-docNot affected
Red Hat Enterprise Linux 8python39-psycopg2-testsNot affected
Red Hat Enterprise Linux 8python39-pycparserNot affected
Red Hat Enterprise Linux 8python39-pysocksNot affected
Red Hat Enterprise Linux 8python39-pyyamlNot affected
Red Hat Enterprise Linux 8python39-requestsNot affected
Red Hat Enterprise Linux 8python39-rpm-macrosNot affected
Red Hat Enterprise Linux 8python39-scipyNot affected
Red Hat Enterprise Linux 8python39-setuptoolsNot affected
Red Hat Enterprise Linux 8python39-setuptools-wheelNot affected
Red Hat Enterprise Linux 8python39-sixNot affected
Red Hat Enterprise Linux 8python39-testNot affected
Red Hat Enterprise Linux 8python39-tkinterNot affected
Red Hat Enterprise Linux 8python39-tomlNot affected
Red Hat Enterprise Linux 8python39-urllib3Not affected
Red Hat Enterprise Linux 8python39-wheelNot affected
Red Hat Enterprise Linux 8python39-wheel-wheelNot affected
Red Hat Enterprise Linux 8python3x-pipNot affected
Red Hat Enterprise Linux 8python3x-setuptoolsNot affected
Red Hat Enterprise Linux 8python3x-sixNot affected
Red Hat Enterprise Linux 8scipyNot affected
Red Hat Enterprise Linux 7pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-debugWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7python-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7python3Will not fix
Out of support scope
Red Hat Enterprise Linux 7python3-debugWill not fix
Out of support scope
Red Hat Enterprise Linux 7python3-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7python3-idleWill not fix
Out of support scope
Red Hat Enterprise Linux 7python3-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7python3-testWill not fix
Out of support scope
Red Hat Enterprise Linux 7python3-tkinterWill not fix
Out of support scope
Red Hat Enterprise Linux 7tkinterWill not fix
Out of support scope
Red Hat Enterprise Linux 6pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-testWill not fix
Out of support scope
Red Hat Enterprise Linux 6python-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tkinterWill not fix
Out of support scope

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.