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.
Metrics
CVSS 3.1 5.9/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://bugs.python.org/issue40791Exploit, Issue Tracking, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00017.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20231006-0013/Third Party Advisory
- https://bugs.python.org/issue40791Exploit, Issue Tracking, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00022.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00017.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20231006-0013/Third Party Advisory
Timeline
- Published
- Aug 22, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified