{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6232","id":"CVE-2024-6232","title":"Regular-expression DoS when parsing TarFile headers","description":"There is a MEDIUM severity vulnerability affecting CPython.\n\n\n\n\n\nRegular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.","descriptionLong":"There is a MEDIUM severity vulnerability affecting CPython.\n\n\n\n\n\nRegular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.","published":"2024-09-03T12:29:00.102Z","updated":"2026-11-10T10:45:36.974400317Z","reserved":"2024-06-20T21:01:55.524Z","status":"Modified","rejected":false,"assigner":"PSF","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.8.20","status":"affected","versionType":"python"},{"version":"3.9.0","lessThan":"3.9.20","status":"affected","versionType":"python"},{"version":"3.10.0","lessThan":"3.10.15","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.10","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.6","status":"affected","versionType":"python"},{"version":"3.13.0a1","lessThan":"3.13.0rc2","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-1333"],"aliases":["BIT-libpython-2024-6232","BIT-python-2024-6232","BIT-python-min-2024-6232","PSF-2024-11"],"references":[{"url":"https://github.com/python/cpython/pull/121286","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/python/cpython/issues/121285","tags":["issue-tracking","Exploit","Issue Tracking","Patch","report"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/","tags":["vendor-advisory","Vendor Advisory","advisory"]},{"url":"https://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/34ddb64d088dd7ccc321f6103d23153256caa5d4","tags":["patch","Patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2024/09/03/5","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20241018-0007/","tags":["Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6232.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6232","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.02203,"epssPercentile":0.82903,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6232","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6232","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6232","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6232","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}