187 lines
8.3 KiB
JSON
187 lines
8.3 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-115791",
|
|
"assignerOrgId": "28c92f92-d60d-412d-b760-e73465c3df22",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "PSF",
|
|
"dateReserved": "2026-10-23T14:12:50.150Z",
|
|
"datePublished": "2026-11-10T16:33:49.360Z",
|
|
"dateUpdated": "2026-11-10T17:25:02.503Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"affected": [
|
|
{
|
|
"defaultStatus": "unaffected",
|
|
"modules": [
|
|
"tarfile",
|
|
"zipfile",
|
|
"gzip"
|
|
],
|
|
"product": "CPython",
|
|
"repo": "https://github.com/python/cpython",
|
|
"vendor": "Python Software Foundation",
|
|
"versions": [
|
|
{
|
|
"lessThan": "3.16.0",
|
|
"status": "affected",
|
|
"version": "0",
|
|
"versionType": "python"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"credits": [
|
|
{
|
|
"lang": "en",
|
|
"type": "reporter",
|
|
"value": "Jelle Zijlstra (https://github.com/jelle-openai)"
|
|
},
|
|
{
|
|
"lang": "en",
|
|
"type": "remediation developer",
|
|
"value": "Victor Stinner (https://github.com/vstinner)"
|
|
},
|
|
{
|
|
"lang": "en",
|
|
"type": "remediation reviewer",
|
|
"value": "Ethan Furman (https://github.com/ethanfurman)"
|
|
},
|
|
{
|
|
"lang": "en",
|
|
"type": "remediation reviewer",
|
|
"value": "Kirill Podoprigora (https://github.com/Eclips4)"
|
|
},
|
|
{
|
|
"lang": "en",
|
|
"type": "remediation reviewer",
|
|
"value": "Seth Larson (https://github.com/sethmlarson)"
|
|
}
|
|
],
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"supportingMedia": [
|
|
{
|
|
"type": "text/html",
|
|
"value": "When tarfile or zipfile command line interface (CLI) is used to<br>\ndecompress an archive, a Python script shadowing the stdlib can be<br>\ncreated. Then if an error occurs during decompressing the next file,<br>\nthe newly created Python script is executed. This is especially true<br>\nif the created Python is called traceback.py. The problem is that<br>\nPython adds the current directory to sys.path when python -m MODULE is<br>\nrun, and the archive is also decompressed in the current directory.<br>\n<br>\nThe fix removes sys.path[0] in gzip, tarfile and zipfile command line<br>\ninterface to prevent shadowing standard library modules from extracted<br>\nfiles."
|
|
}
|
|
],
|
|
"value": "When tarfile or zipfile command line interface (CLI) is used to\n\ndecompress an archive, a Python script shadowing the stdlib can be\n\ncreated. Then if an error occurs during decompressing the next file,\n\nthe newly created Python script is executed. This is especially true\n\nif the created Python is called traceback.py. The problem is that\n\nPython adds the current directory to sys.path when python -m MODULE is\n\nrun, and the archive is also decompressed in the current directory.\n\n\n\nThe fix removes sys.path[0] in gzip, tarfile and zipfile command line\n\ninterface to prevent shadowing standard library modules from extracted\n\nfiles."
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV4_0": {
|
|
"Automatable": "NOT_DEFINED",
|
|
"Recovery": "NOT_DEFINED",
|
|
"Safety": "NOT_DEFINED",
|
|
"attackComplexity": "LOW",
|
|
"attackRequirements": "PRESENT",
|
|
"attackVector": "LOCAL",
|
|
"baseScore": 5.3,
|
|
"baseSeverity": "MEDIUM",
|
|
"exploitMaturity": "NOT_DEFINED",
|
|
"privilegesRequired": "LOW",
|
|
"providerUrgency": "NOT_DEFINED",
|
|
"subAvailabilityImpact": "NONE",
|
|
"subConfidentialityImpact": "NONE",
|
|
"subIntegrityImpact": "NONE",
|
|
"userInteraction": "ACTIVE",
|
|
"valueDensity": "NOT_DEFINED",
|
|
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
|
|
"version": "4.0",
|
|
"vulnAvailabilityImpact": "NONE",
|
|
"vulnConfidentialityImpact": "HIGH",
|
|
"vulnIntegrityImpact": "HIGH",
|
|
"vulnerabilityResponseEffort": "NOT_DEFINED"
|
|
},
|
|
"format": "CVSS",
|
|
"scenarios": [
|
|
{
|
|
"lang": "en",
|
|
"value": "GENERAL"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "28c92f92-d60d-412d-b760-e73465c3df22",
|
|
"shortName": "PSF",
|
|
"dateUpdated": "2026-11-10T16:33:49.360Z"
|
|
},
|
|
"references": [
|
|
{
|
|
"tags": [
|
|
"issue-tracking"
|
|
],
|
|
"url": "https://github.com/python/cpython/issues/161705"
|
|
},
|
|
{
|
|
"tags": [
|
|
"patch"
|
|
],
|
|
"url": "https://github.com/python/cpython/pull/161706"
|
|
},
|
|
{
|
|
"tags": [
|
|
"vendor-advisory"
|
|
],
|
|
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/ZKKA4Q7B35JEHSDIJNZ6TYKRDQJUHDAG/"
|
|
}
|
|
],
|
|
"source": {
|
|
"discovery": "UNKNOWN"
|
|
},
|
|
"title": "Prevent shadowing stdlib in gzip/tarfile/zipfile CLI during extraction"
|
|
},
|
|
"adp": [
|
|
{
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"type": "CWE",
|
|
"cweId": "CWE-829",
|
|
"lang": "en",
|
|
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2026-11-10T17:24:59.223694Z",
|
|
"id": "CVE-2026-115791",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"Automatable": "no"
|
|
},
|
|
{
|
|
"Technical Impact": "total"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2026-11-10T17:25:02.503Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |