CVE-2024-6232
Estado: ModificadaAlta (7.5)—
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.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Puntuación base: 7.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 2.20%
- Percentil entre todas las CVEs puntuadas: 82
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-1333
- CWE-1333
Referencias
- https://github.com/python/cpython/commit/34ddb64d088dd7ccc321f6103d23153256caa5d4
- https://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06
- https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4
- https://github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d
- https://github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877
- https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf
- https://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373
- https://github.com/python/cpython/issues/121285
- https://github.com/python/cpython/pull/121286
- https://mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/
- http://www.openwall.com/lists/oss-security/2024/09/03/5
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
- https://security.netapp.com/advisory/ntap-20241018-0007/
JSON original (NVD)
Mostrar
{
"id": "CVE-2024-6232",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2024-6232",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-12-04T15:24:31.176254Z"
}
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
},
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "cna@python.org",
"affectedData": [
{
"repo": "https://github.com/python/cpython",
"vendor": "Python Software Foundation",
"product": "CPython",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.8.20",
"versionType": "python"
},
{
"status": "affected",
"version": "3.9.0",
"lessThan": "3.9.20",
"versionType": "python"
},
{
"status": "affected",
"version": "3.10.0",
"lessThan": "3.10.15",
"versionType": "python"
},
{
"status": "affected",
"version": "3.11.0",
"lessThan": "3.11.10",
"versionType": "python"
},
{
"status": "affected",
"version": "3.12.0",
"lessThan": "3.12.6",
"versionType": "python"
},
{
"status": "affected",
"version": "3.13.0a1",
"lessThan": "3.13.0rc2",
"versionType": "python"
}
],
"defaultStatus": "unaffected"
}
]
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*"
],
"vendor": "python",
"product": "cpython",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.8.20",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.9.0",
"lessThan": "3.9.20",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.10.0",
"lessThan": "3.10.15",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.11.0",
"lessThan": "3.11.10",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.12.0",
"lessThan": "3.12.6",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.13.0a1",
"lessThan": "3.13.0rc2",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
]
}
],
"published": "2024-09-03T13:15:05.363",
"references": [
{
"url": "https://github.com/python/cpython/commit/34ddb64d088dd7ccc321f6103d23153256caa5d4",
"tags": [
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06",
"tags": [
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4",
"tags": [
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d",
"tags": [
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877",
"tags": [
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf",
"tags": [
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373",
"tags": [
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/issues/121285",
"tags": [
"Exploit",
"Issue Tracking",
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/121286",
"tags": [
"Issue Tracking",
"Patch"
],
"source": "cna@python.org"
},
{
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/",
"tags": [
"Vendor Advisory"
],
"source": "cna@python.org"
},
{
"url": "http://www.openwall.com/lists/oss-security/2024/09/03/5",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://security.netapp.com/advisory/ntap-20241018-0007/",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "cna@python.org",
"description": [
{
"lang": "en",
"value": "CWE-1333"
}
]
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-1333"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Existe una vulnerabilidad de gravedad MEDIA que afecta a CPython. Las expresiones regulares que permitían un retroceso excesivo durante el análisis de cabeceras tarfile.TarFile son vulnerables a ReDoS a través de archivos tar manipulados específicamente."
}
],
"lastModified": "2026-06-17T08:17:35.503",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B475FA53-D1F3-44C8-80CD-0CEA88129109",
"versionEndExcluding": "3.8.20"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9365E878-106E-49B6-98FC-9FA339CD5216",
"versionEndExcluding": "3.9.20",
"versionStartIncluding": "3.9.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BFD756EB-DF07-4485-A2AA-59FBD7260A21",
"versionEndExcluding": "3.10.15",
"versionStartIncluding": "3.10.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9EE0E5D8-452F-4862-9C23-23AC1DDEFB1E",
"versionEndExcluding": "3.11.10",
"versionStartIncluding": "3.11.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5D4E662B-59E4-495E-941E-2246D2168B42",
"versionEndExcluding": "3.12.6",
"versionStartIncluding": "3.12.0"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:alpha0:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3BA51E41-D221-431F-870F-536AF2867B50"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:alpha1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "978582FF-B8F3-479F-AE77-359E9AEE6F23"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:alpha2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "84E3F62C-7218-4DC3-8473-8A576739643A"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:alpha3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1FD15706-B8BC-4801-9F93-06771F2E12C1"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:alpha4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0FDC359F-E8ED-4777-83FB-1EC63F095CBF"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:alpha5:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6893BDDE-4D90-4592-8701-C6B3FFEB0CFE"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:alpha6:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E316F712-F03A-4378-8192-D1640819698B"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:beta1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8566F034-27CB-422E-950B-DCAA926CF64F"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:beta2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "EACCE6C3-7701-4966-9D88-E949C82FCA46"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:beta3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A4853BF2-9C27-465F-9840-5B37013C9F74"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:beta4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B266541A-E877-4CAD-A1EF-08A069441F36"
},
{
"criteria": "cpe:2.3:a:python:python:3.13.0:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8384A34C-50CD-439C-A2BB-DEA6161342C1"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cna@python.org"
}