CVE-2022-48566
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Trends
Current EPSS score: 1.30%• Percentile: 69%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected Systems
- chainguard•python-3.10
< 0
- chainguard•python-3.11
< 0
- chainguard•python-3.9
< 0
- wolfi•python-3.10
< 0
- wolfi•python-3.11
< 0
- debian•pypy3
< 7.3.5+dfsg-2 | < 7.3.5+dfsg-2 | < 7.3.5+dfsg-2 | < 7.3.5+dfsg-2
- debian•python2.7
< 2.7.18-8+deb11u1
- debian•python3.12
< 3.12.0~b4-1
- debian•python3.9
< 3.9.1~rc1-1
- ubuntu•python2.7
all | < 2.7.12-1ubuntu0~16.04.18+esm7 | < 2.7.17-1~18.04ubuntu1.13+esm2 | < 2.7.18-1~20.04.7 | < 2.7.18-13ubuntu1.5
- ubuntu•python3.4
all
- ubuntu•python3.5
< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | < 3.5.2-2ubuntu0~16.04.13+esm11
- ubuntu•python3.6
< 3.6.9-1~18.04ubuntu1.13+esm2
- ubuntu•python3.7
< 3.7.5-2ubuntu1~18.04.2+esm3
- ubuntu•python3.8
< 3.8.0-3ubuntu1~18.04.2+esm2 | < 3.8.10-0ubuntu1~20.04
- debian•debian_linux
10.0
- netapp•active_iq_unified_manager
na
- netapp•converged_systems_advisor_agent
na
- python•python
3.13.0:alpha0 | < 3.6.13 | ≥ 3.7.0, < 3.7.10 | ≥ 3.8.0, < 3.8.7 | ≥ 3.9.0, < 3.9.1
References (14)
- https://bugs.python.org/issue40791
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html
- https://security.netapp.com/advisory/ntap-20231006-0013/
- https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html
- https://github.com/python/cpython/issues/105987
- https://security-tracker.debian.org/tracker/CVE-2023-38898
- https://security-tracker.debian.org/tracker/CVE-2022-48566
- https://ubuntu.com/security/CVE-2022-48566
- https://github.com/python/cpython/commit/8183e11d87388e4e44e3242c42085b87a878f781
- https://github.com/python/cpython/issues/84968
- https://ubuntu.com/security/notices/USN-6400-1
- https://www.cve.org/CVERecord?id=CVE-2022-48566
- https://ubuntu.com/security/notices/USN-6891-1
- https://ubuntu.com/security/notices/USN-7180-1