Python 3.7 and 4 others: An issue was discovered in compare_digest in Lib/hmac.py in Python through 3.9.1.
CVE-2022-48566 is fixed in 38 products on 2 platforms, first by Python 3.8 3.8.7, released December 21, 2020. 4 other affected products have no fix yet. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Python 3.8 | 3.8.7 | Python 3.8 3.8.7 | Dec 21, 2020 |
| Linux | |||
| idle-python2.7 · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | idle-python2.7 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| idle-python2.7 · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | idle-python2.7 2.7.18-1~20.04.7 | Aug 24, 2023 |
| idle-python2.7 · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | idle-python2.7 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| idle-python3.6 · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | idle-python3.6 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| idle-python3.7 · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | idle-python3.7 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| idle-python3.8 · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | idle-python3.8 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| idle-python3.8 · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | idle-python3.8 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| libpython2.7 · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | libpython2.7 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| libpython2.7 · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | libpython2.7 2.7.18-1~20.04.7 | Aug 24, 2023 |
| libpython2.7 · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | libpython2.7 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| libpython2.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | libpython2.7-minimal 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| libpython2.7-minimal · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | libpython2.7-minimal 2.7.18-1~20.04.7 | Aug 24, 2023 |
| libpython2.7-minimal · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | libpython2.7-minimal 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| libpython2.7-stdlib · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | libpython2.7-stdlib 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| libpython2.7-stdlib · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | libpython2.7-stdlib 2.7.18-1~20.04.7 | Aug 24, 2023 |
| libpython2.7-stdlib · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | libpython2.7-stdlib 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| libpython2.7-testsuite · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | libpython2.7-testsuite 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| libpython2.7-testsuite · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | libpython2.7-testsuite 2.7.18-1~20.04.7 | Aug 24, 2023 |
| libpython2.7-testsuite · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | libpython2.7-testsuite 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| libpython3.6 · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | libpython3.6 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| libpython3.6-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | libpython3.6-minimal 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| libpython3.6-stdlib · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | libpython3.6-stdlib 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| libpython3.6-testsuite · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | libpython3.6-testsuite 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| libpython3.7 · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7-minimal 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.7-stdlib · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7-stdlib 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.7-testsuite · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | libpython3.7-testsuite 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| libpython3.8 · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8 · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | libpython3.8 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| libpython3.8-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8-minimal 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8-minimal · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | libpython3.8-minimal 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| libpython3.8-stdlib · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8-stdlib 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8-stdlib · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | libpython3.8-stdlib 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| libpython3.8-testsuite · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | libpython3.8-testsuite 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| libpython3.8-testsuite · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | libpython3.8-testsuite 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| pypy3 · Debian 12.15 (bookworm) | 7.3.5+dfsg-2 | DEBIAN-CVE-2022-48566 | Aug 22, 2023 |
| pypy3 · Debian 13.5 (trixie) | 7.3.5+dfsg-2 | DEBIAN-CVE-2022-48566 | Aug 22, 2023 |
| pypy3 · Debian 14 | 7.3.5+dfsg-2 | DEBIAN-CVE-2022-48566 | Aug 22, 2023 |
| python2.7 · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | python2.7 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| python2.7 · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | python2.7 2.7.18-1~20.04.7 | Aug 24, 2023 |
| python2.7 · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | python2.7 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| python2.7-examples · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | python2.7-examples 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| python2.7-examples · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | python2.7-examples 2.7.18-1~20.04.7 | Aug 24, 2023 |
| python2.7-examples · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | python2.7-examples 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| python2.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 2.7.17-1~18.04ubuntu1.13+esm2 | python2.7-minimal 2.7.17-1~18.04ubuntu1.13+esm2 | Aug 22, 2023 |
| python2.7-minimal · Ubuntu 20.04 LTS (focal) | 2.7.18-1~20.04.7 | python2.7-minimal 2.7.18-1~20.04.7 | Aug 24, 2023 |
| python2.7-minimal · Ubuntu 22.04.1 LTS (jammy) | 2.7.18-13ubuntu1.5 | python2.7-minimal 2.7.18-13ubuntu1.5 | Aug 24, 2023 |
| python3.6 · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | python3.6 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| python3.6-examples · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | python3.6-examples 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| python3.6-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | python3.6-minimal 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| python3.6-venv · Ubuntu 18.04.6 LTS (bionic) | 3.6.9-1~18.04ubuntu1.13+esm2 | python3.6-venv 3.6.9-1~18.04ubuntu1.13+esm2 | Mar 19, 2024 |
| python3.7 · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.7-examples · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7-examples 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.7-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7-minimal 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.7-venv · Ubuntu 18.04.6 LTS (bionic) | 3.7.5-2ubuntu1~18.04.2+esm3 | python3.7-venv 3.7.5-2ubuntu1~18.04.2+esm3 | Mar 19, 2024 |
| python3.8 · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8 · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | python3.8 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| python3.8-examples · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8-examples 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8-examples · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | python3.8-examples 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| python3.8-full · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | python3.8-full 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| python3.8-minimal · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8-minimal 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8-minimal · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | python3.8-minimal 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| python3.8-venv · Ubuntu 18.04.6 LTS (bionic) | 3.8.0-3ubuntu1~18.04.2+esm2 | python3.8-venv 3.8.0-3ubuntu1~18.04.2+esm2 | Mar 19, 2024 |
| python3.8-venv · Ubuntu 20.04 LTS (focal) | 3.8.10-0ubuntu1~20.04 | python3.8-venv 3.8.10-0ubuntu1~20.04 | Aug 22, 2023 |
| No fix yet | |||
| Python 2 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.5 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.6 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.7 (Windows apps) | No fix yet | no-fix | n/a |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.