CVE-2024-6232
A public proof of concept exists; no exploitation attested.
- Published2024-09-03
- Fixed in3.12.6 · 3.11.10 · 3.10.15 · 3.9.20 · 3.8.20
- WeaknessCWE-1333
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.
Timeline
dates in UTC- 2024-09-0313:15CVE publishedNVD
Versions per branch
NVD · OSV · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.12 | ≥ 3.12.0, < 3.12.6 | 3.12.6 | NVD · OSV |
| 3.11 | ≥ 3.11.0, < 3.11.10 | 3.11.10 | NVD · OSV |
| 3.10 | ≥ 3.10.0, < 3.10.15 | 3.10.15 | NVD · OSV |
| 3.9 | ≥ 3.9.0, < 3.9.20 | 3.9.20 | NVD · OSV |
| 3.8 | < 3.8.20 | 3.8.20 | NVD · OSV |
| 3.13 | = 3.13.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.13 | ≥ 3.13.0a1, < 3.13.0rc2 | 3.13.0rc2 | CISA-ADP |
| 3.12 | ≥ 3.12.0, < 3.12.6 | 3.12.6 | CISA-ADP |
| 3.11 | ≥ 3.11.0, < 3.11.10 | 3.11.10 | CISA-ADP |
| 3.10 | ≥ 3.10.0, < 3.10.15 | 3.10.15 | CISA-ADP |
| 3.9 | ≥ 3.9.0, < 3.9.20 | 3.9.20 | CISA-ADP |
| 3.8 | < 3.8.20 | 3.8.20 | CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As PSF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Python Software Foundation CPythonother versions: not affected
https://github.com/python/cpython
Affected- < 3.8.20fixed in 3.8.20python
- ≥ 3.9.0, < 3.9.20fixed in 3.9.20python
- ≥ 3.10.0, < 3.10.15fixed in 3.10.15python
- ≥ 3.11.0, < 3.11.10fixed in 3.11.10python
- ≥ 3.12.0, < 3.12.6fixed in 3.12.6python
- ≥ 3.13.0a1, < 3.13.0rc2fixed in 3.13.0rc2python
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-01-31
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cassandraCleanStartall versions · fixed in 5.0.6-r2and 1 other package
- cassandra-fipsCleanStartall versions · fixed in 4.0.19-r3
- cassandra-fipsCleanStartall versions · fixed in 4.1.10-r2
- CythonRocky Linux:8all versions · fixed in 0:0.29.21-5.module+el8.10.0+1582+bc278001
- CythonRed Hat:enterprise_linux:8::crball versions · fixed in 0:0.29.21-5.module+el8.9.0+19644+d68f775dand 3 other packages
- kserve-storage-controllerCleanStartall versions · fixed in 0.19.0-r0
- mod_wsgiRocky Linux:8all versions · fixed in 0:4.7.1-7.module+el8.10.0+1582+bc278001
- mod_wsgiRed Hat:rhel_tus:8.6::appstreamall versions · fixed in 0:4.7.1-4.module+el8.4.0+9822+20bf1249
351 more package ranges on OSV.dev
Vendor advisories
python: cpython: tarfile: ReDos via excessive backtracking while parsing header values
python as a component of Red Hat Enterprise Linux 6 · python-devel as a component of Red Hat Enterprise Linux 6 · python-libs as a component of Red Hat Enterprise Linux 6 · +13 more
SSA-202008: Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0
RUGGEDCOM ROX MX5000 · RUGGEDCOM ROX MX5000RE · RUGGEDCOM ROX RX1400 · +8 more
Siemens SINEC OS
RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XCM-/XRM-/XCH-/XRH-300 family
SSA-613116: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.1
RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XCM-/XRM-/XCH-/XRH-300 family
Red Hat Bug Fix Advisory: python3.12 bug fix and enhancement update
Red Hat Security Advisory: python3 security update
20 more advisories
Fix
- Update Python to 3.12.6 · 3.11.10 · 3.10.15 · 3.9.20 · 3.8.20
- Vendor fix Siemens ProductCERT SSA-202008 · 11 productsUpdate to V2.17.0 or later version
- Vendor fix Siemens ProductCERT SSA-613116 · 2 productsUpdate to V3.1 or later version
- Vendor fix CISA ICSA-25-226-15 · 2 productsUpdate to V3.1 or later version
- Vendor fix Red Hat Product Security RHBA-2025:6294 · 54 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHBA-2024:8413 · 30 productsFor Red Hat OpenShift AI 2.13.1 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
- Vendor fix Red Hat Product Security RHBA-2024:8240 · 32 productsFor Red Hat OpenShift AI 2.14.0 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
- github.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01bgutowski/CVE-2025-4517-POC-Sudoers
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-12-04
- CISA-ADPCVSS 3.17.52024-09-03
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-1333known since 2026-10-23
- NVDweakness (CWE)CWE-1333read 2026-10-23
- FIRST EPSSEPSS score2.2 %2026-12-04
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-109671same flawAzure Linux · MIT
- AZL-48552same flawAzure Linux · MIT
- AZL-48585same flawAzure Linux · MIT
- AZL-48740same flawAzure Linux · MIT
- BIT-libpython-2024-6232same flawBitnami · Apache-2.0
- BIT-python-2024-6232same flawBitnami · Apache-2.0
- BIT-python-min-2024-6232same flawBitnami · Apache-2.0
- CGA-33qr-rjjx-3f4csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-44ww-mpwv-g464same flawChainguard · CC-BY-NC-ND-4.0
- CGA-642x-x8q6-7p68same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g393-cmw5-f8m2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qmpp-4j4v-4rq8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qrvq-hmj4-v72vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rq3j-j6m4-f89rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v9gr-6fhv-w765same flawChainguard · CC-BY-NC-ND-4.0
- CGA-x2fv-248j-gp5gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xv6w-2vg6-4wr8same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-48018same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-mmm5-wgvp-wp8rsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1625same flawJulia Security Advisories · CC-BY-4.0
- PSF-2024-11same flawPython Software Foundation · CC-BY-4.0
- ALSA-2024:6975advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:8359advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:8374advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:8446advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:8447advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:8836advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:8838advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:9450advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:9451advisory covering several CVEsAlmaLinux · MIT
- ALSA-2024:9468advisory covering several CVEsAlmaLinux · MIT
- DLA-3980-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-4354-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0317advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-2190advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2024-2191advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2024-2192advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2024-2193advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:14326-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14327-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14340-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14345-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14346-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14370-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14434-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15713-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHBA-2025:6294advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:6909advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:6975advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:7415advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2024-09-03
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-mmm5-wgvp-wp8r
Frequently asked questions
What is CVE-2024-6232?
Is CVE-2024-6232 actively exploited?
What is the CVSS score for CVE-2024-6232?
Running Python? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-mmm5-wgvp-wp8r
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0