Python tarfile module vulnerability
Multiple products
At a glance
Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 27.095%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:python | python | Affected versions:≥ 3.10.0, < 3.10.12Show full version range for python≥ 3.11.0, < 3.11.4< 3.6.16≥ 3.7.0, < 3.8.17≥ 3.9.0, < 3.9.17 |
| Vendor:redhat | pythonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python
|
| Vendor:redhat | python-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python-devel
|
| Vendor:redhat | python-libsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python-libs
|
| Vendor:redhat | python-testEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python-test
|
| Vendor:redhat | python-toolsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python-tools
|
| Vendor:redhat | tkinterEnvironments (1)
| Affected versions:Range not specifiedShow full version range for tkinter
|
| Vendor:redhat | pythonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python
|
| Vendor:redhat | python-debugEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python-debug
|
| Vendor:redhat | python-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for python-devel
|
1–10 of 857 · Page 1 of 86
CVSS scores and metrics14
CISA-ADP · CVE List / CNA (adp)Primary9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Halmalinux · Wazuh CTI (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Nalas · Wazuh CTI (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Nredhat · Wazuh CTI (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Ncanonical · Wazuh CTI (adp)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hrocky · Wazuh CTI (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Nsuse · Wazuh CTI (adp)5.4 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LRed Hat · Red Hat VEX (adp)5.5 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NSUSE · SUSE VEX (adp)5.4 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:Loraclelinux · Wazuh CTI (adp)5.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N[email protected] · NVD (Primary)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories71
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- security.gentoo.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- secunia.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- mail.python.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- mail.python.org
- vupen.com
- bugzilla.redhat.com
- SUSE-SU-2026:0210-1
- openSUSE-SU-2025:15104-1
- ubuntu.com
- SUSE-CU-2023:1946-1
- access.redhat.com
- SUSE-CU-2023:1950-1
- SUSE-CU-2023:1952-1
- SUSE-CU-2023:1953-1
- SUSE-CU-2023:1955-1
- SUSE-CU-2023:1985-1
- SUSE-CU-2023:2047-1
- SUSE-CU-2023:2048-1
- SUSE-CU-2023:2050-1
- SUSE-CU-2023:2051-1
- SUSE-CU-2023:2286-1
- SUSE-CU-2023:2400-1
- SUSE-CU-2023:2466-1
- SUSE-CU-2023:3070-1
- SUSE-CU-2023:3073-1
- SUSE-CU-2023:3084-1
- SUSE-IU-2023:474-1
- SUSE-IU-2023:476-1
- SUSE-IU-2023:549-1
- SUSE-SU-2023:2473-1
- SUSE-SU-2023:2641-1
- SUSE-SU-2023:2884-1
- SUSE-SU-2023:2937-1
- SUSE-SU-2023:2957-1
- SUSE-CU-2023:1945-1
- SUSE CVE-2007-4559
- SUSE-CU-2023:1833-1
- cve.mitre.org
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- linux.oracle.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- Mitre CVE-2007-4559
- SUSE-SU-2023:2463-1
- SUSE-SU-2023:2509-1
- SUSE-SU-2023:2517-1
- SUSE-SU-2023:2778-1
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences