CVE-2024-6232
Regular-expression DoS when parsing TarFile headers
02 Description
Regular-expression DoS when parsing TarFile headers
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 2.20% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 82.0% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- 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
- 2024-09-03 12:29Z2 YR AGO
- Last updated
- 2025-11-03 22:32Z11 MO AGO
- Reserved
- 2024-06-20
- Assigning CNA
- PSF
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333Inefficient Regular Expression ComplexityBase
- Data version
- 5.2
- Document digest
- 0aec7f1b9173d2d9a58b9234d9d8c1e991892fb63aeecfe98236c6012787104c
05 Affected products
06 References
- github.comhttps://github.com/python/cpython/pull/121286
- github.comhttps://github.com/python/cpython/issues/121285
- mail.python.orghttps://mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/
- github.comhttps://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06
- github.comhttps://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4
- github.comhttps://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf
- github.comhttps://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373
- github.comhttps://github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d
- github.comhttps://github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877
- github.comhttps://github.com/python/cpython/commit/34ddb64d088dd7ccc321f6103d23153256caa5d4
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/09/03/5
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20241018-0007/
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
07 Fixed in
AlmaLinux 8
- platform-python Fixed in 3.6.8-67.el8_10.alma.1
- platform-python-debug Fixed in 3.6.8-67.el8_10.alma.1
- platform-python-devel Fixed in 3.6.8-67.el8_10.alma.1
- python3-idle Fixed in 3.6.8-67.el8_10.alma.1
- python3-libs Fixed in 3.6.8-67.el8_10.alma.1
- python3-test Fixed in 3.6.8-67.el8_10.alma.1
- python3-tkinter Fixed in 3.6.8-67.el8_10.alma.1
- python3.11 Fixed in 3.11.10-1.el8_10
- python3.11-debug Fixed in 3.11.10-1.el8_10
- python3.11-devel Fixed in 3.11.10-1.el8_10
- python3.11-idle Fixed in 3.11.10-1.el8_10
- python3.11-libs Fixed in 3.11.10-1.el8_10
- python3.11-rpm-macros Fixed in 3.11.10-1.el8_10
- python3.11-test Fixed in 3.11.10-1.el8_10
- python3.11-tkinter Fixed in 3.11.10-1.el8_10
- python3.12 Fixed in 3.12.6-1.el8_10
- python3.12-debug Fixed in 3.12.6-1.el8_10
- python3.12-devel Fixed in 3.12.6-1.el8_10
- python3.12-idle Fixed in 3.12.6-1.el8_10
- python3.12-libs Fixed in 3.12.6-1.el8_10
- python3.12-rpm-macros Fixed in 3.12.6-1.el8_10
- python3.12-test Fixed in 3.12.6-1.el8_10
- python3.12-tkinter Fixed in 3.12.6-1.el8_10
- python39 Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-devel Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-idle Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-idna Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
32 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- python-unversioned-command Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3 Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-debug Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-idle Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-test Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-tkinter Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3.11 Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-debug Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-idle Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-test Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-tkinter Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.12 Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-debug Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-idle Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-test Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-tkinter Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- platform-python Fixed in 3.6.8-67.el8_10.alma.1
- platform-python-debug Fixed in 3.6.8-67.el8_10.alma.1
- platform-python-devel Fixed in 3.6.8-67.el8_10.alma.1
- python3-idle Fixed in 3.6.8-67.el8_10.alma.1
- python3-libs Fixed in 3.6.8-67.el8_10.alma.1
- python3-test Fixed in 3.6.8-67.el8_10.alma.1
- python3-tkinter Fixed in 3.6.8-67.el8_10.alma.1
- python3.11 Fixed in 3.11.10-1.el8_10
- python3.11-debug Fixed in 3.11.10-1.el8_10
- python3.11-devel Fixed in 3.11.10-1.el8_10
- python3.11-idle Fixed in 3.11.10-1.el8_10
- python3.11-libs Fixed in 3.11.10-1.el8_10
- python3.11-rpm-macros Fixed in 3.11.10-1.el8_10
- python3.11-test Fixed in 3.11.10-1.el8_10
- python3.11-tkinter Fixed in 3.11.10-1.el8_10
- python3.12 Fixed in 3.12.6-1.el8_10
- python3.12-debug Fixed in 3.12.6-1.el8_10
- python3.12-devel Fixed in 3.12.6-1.el8_10
- python3.12-idle Fixed in 3.12.6-1.el8_10
- python3.12-libs Fixed in 3.12.6-1.el8_10
- python3.12-rpm-macros Fixed in 3.12.6-1.el8_10
- python3.12-test Fixed in 3.12.6-1.el8_10
- python3.12-tkinter Fixed in 3.12.6-1.el8_10
- python39 Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-devel Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-idle Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-idna Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
32 further packages in CloudLinux 8 not shown (first 40 listed).
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- python-unversioned-command Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3 Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-debug Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-idle Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-test Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3-tkinter Fixed
A version is affected if any line below covers it.
- Affected before 3.9.18-3.el9_4.6
- Affected before 3.9.19-8.el9_5.1
- python3.11 Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-debug Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-idle Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-test Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.11-tkinter Fixed
A version is affected if any line below covers it.
- Affected before 3.11.7-1.el9_4.6
- Affected before 3.11.9-7.el9_5.1
- python3.12 Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-debug Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-devel Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-idle Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-libs Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-test Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
- python3.12-tkinter Fixed
A version is affected if any line below covers it.
- Affected before 3.12.1-4.el9_4.4
- Affected before 3.12.5-2.el9_5.1
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- pypy3 No fix yet
- python3.11 Fixed in 3.11.2-6+deb12u4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- pypy3 Fixed in 7.3.18+dfsg-1
- python3.13 Fixed in 3.13.0~rc2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- pypy3 Fixed in 7.3.18+dfsg-1
- python3.13 Fixed in 3.13.0~rc2-1
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.5
- python3.8 Fixed in 3.8.10-0ubuntu1~20.04.12
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.3
- python3.10 Fixed in 3.10.12-1~22.04.6
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- python3.12 Fixed in 3.12.3-1ubuntu0.2
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 Fixed in 2.7.6-8ubuntu0.6+esm21Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.4 Fixed in 3.4.3-1ubuntu1~14.04.7+esm14Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm3Available 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+esm12Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.13+esm14Available 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
- python3.6 Fixed in 3.6.9-1~18.04ubuntu1.13+esm3Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.7 Fixed in 3.7.5-2ubuntu1~18.04.2+esm4Available with Ubuntu Pro: https://ubuntu.com/pro
- python3.8 Fixed in 3.8.0-3ubuntu1~18.04.2+esm3Available 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.
Ubuntu Pro 20.04 LTS
- python3.9 Fixed in 3.9.5-3ubuntu0~20.04.1+esm3Available 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.
Ubuntu Pro 22.04 LTS
- python3.11 Fixed in 3.11.0~rc1-1~22.04.1~esm2Available 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.