synced 12 MIN AGO
01 Record

CVE-2022-48566

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.

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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.

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.30% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 69.8% of scored records. A rank, not a probability.
NVD base score
5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2023-08-22 00:00Z3 YR AGO
Last updated
2024-10-03 14:08Z2 YR AGO
Reserved
2023-07-23
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')Class
Data version
5.1
Document digest
e208cd955d6b620e188e030be503746bcc66ee087fbbfe7abd5e31a013eeca4b

05 Affected products

VendorProductVersionsPlatforms
debiandebian_linuxNot specified—
netappactive_iq_unified_managerNot specified—
netappconverged_systems_advisor_agentNot specified—
pythonpythonNot specified—
redhatenterprise_linuxNot specified—
redhatrhel_software_collectionsNot specified—

06 References

07 Fixed in

Debian 12

  • pypy3
    Fixed in 7.3.5+dfsg-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • pypy3
    Fixed in 7.3.5+dfsg-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • pypy3
    Fixed in 7.3.5+dfsg-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • python2.7
    Fixed in 2.7.18-1~20.04.7
  • python3.8
    Fixed in 3.8.10-0ubuntu1~20.04

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • python2.7
    Fixed in 2.7.18-13ubuntu1.5

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • python2.7
    No fix yet
  • python3.4
    No fix yet
  • python3.5
    Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • python2.7
    Fixed in 2.7.12-1ubuntu0~16.04.18+esm7
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python3.5
    Fixed in 3.5.2-2ubuntu0~16.04.13+esm11
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • python2.7
    Fixed in 2.7.17-1~18.04ubuntu1.13+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python3.6
    Fixed in 3.6.9-1~18.04ubuntu1.13+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python3.7
    Fixed in 3.7.5-2ubuntu1~18.04.2+esm3
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • python3.8
    Fixed in 3.8.0-3ubuntu1~18.04.2+esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.