CVE-2024-6232
CVE-2024-6232 — Regular-expression DoS when parsing TarFile headers
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.
Published Updated Sources: cvelistV5, PSF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Exploit code
public exploit, none observed
EPSS
2%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (2)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | — | — | cvelistV5 |
Weakness & attack patterns
- CWE-1333
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
13 on the record
- github.com/python/cpython/pull/121286
patch
- github.com/python/cpython/issues/121285
issue-tracking
- mail.python.org/archives/list/[email protected]/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/
vendor-advisory
- github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06
patch
- github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4
patch
- github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf
patch
- github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373
patch
- github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d
patch
Elsewhere on this site
- python software foundationevery CVE for this vendor
- pythonevery CVE for this vendor
- CWE-1333other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.