CVE-2022-48566: Race Condition

Published Aug 22, 2023
·
Updated

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

Other sources

Python could allow a local authenticated attacker to obtain sensitive information, caused by a constant-time-defeating optimisations issue in the comparedigest function in Lib/hmac.py. By sending a specially crafted request using the accumulator variable in hmac.comparedigest, an attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.

IBM

Affected Software

12 affected componentsFixes available
IBM Security QRadar EDR<=3.12
debian/pypy3
7.3.5+dfsg-2+deb11u27.3.5+dfsg-2+deb11u47.3.11+dfsg-2+deb12u37.3.19+dfsg-1
debian/python2.7
2.7.18-8+deb11u1
debian/python3.9
3.9.2-13.9.2-1+deb11u3
Python Python<3.6.13
Python Python>=3.7.0<3.7.10
Python Python>=3.8.0<3.8.7
Python Python>=3.9.0<3.9.1
Debian Debian Linux=10.0
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows
NetApp Converged Systems Advisor Agent

Remediation

Event History

Aug 22, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jan 12, 2024
Data Sourced
via Launchpad·12:13 AM
Description
Jan 7, 2025
Data Sourced
via Ubuntu·01:17 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-48566?

CVE-2022-48566 is a vulnerability discovered in Python through 3.9.1 that allows for constant-time-defeating optimizations in the accumulator variable of hmac.compare_digest.

2

How severe is CVE-2022-48566?

CVE-2022-48566 has a severity score of 8.1, which is classified as high.

3

What software is affected by CVE-2022-48566?

Python versions 3.6.0 through 3.9.1 are affected. Additionally, specific versions of Python 2.7 and 3.5 for Ubuntu and Python 2.7, 3.7, and 3.9 for Debian are also affected.

4

How can I fix CVE-2022-48566?

To fix CVE-2022-48566, update your Python installation to the latest patched version available for your operating system.

5

Where can I find more information about CVE-2022-48566?

More information about CVE-2022-48566 can be found at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203