CVE-2022-48566

python: constant-time-defeating optimisations issue in the compare_digest function in Lib/hmac.p

Published Aug 22, 2023 CVSS 3.1 · 5.9 Medium EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3575-1 python2.7 security update
Debian DLA Debian DLA DLA-3614-1 python3.7 security update
EUVD EUVD EUVD-2022-51262 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.
Ubuntu USN Ubuntu USN USN-6400-1 Python vulnerability
Ubuntu USN Ubuntu USN USN-6891-1 Python vulnerabilities
Ubuntu USN Ubuntu USN USN-7180-1 Python vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00057}

epss

{'score': 0.00059}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 3, 2024, 2:08 PM
Reserved
Jul 23, 2023, 12:00 AM
Status
Modified
Published
Aug 22, 2023, 7:16 PM
Modified
Jun 17, 2026, 5:15 AM
Severity
Moderate
Public date
Aug 22, 2023, 12:00 AM