ALAS2-2025-2816
Active ModerateALAS2-2025-2816 (medium): python
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2025-2816.html| CVE |
|---|
| CVE-2007-4559 |
| CVE-2023-40217 |
Description
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. (CVE-2007-4559) An issue was discovered in Python before 3.8.18, 3.9.x before
Read full publisher description 1219 characters
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. (CVE-2007-4559) An issue was discovered in Python before 3.8.18, 3.9.x before 3.9.18, 3.10.x before 3.10.13, and 3.11.x before 3.11.5. It primarily affects servers (such as HTTP servers) that use TLS client authentication. If a TLS server-side socket is created, receives data into the socket buffer, and then is closed quickly, there is a brief window where the SSLSocket instance will detect the socket as "not connected" and won't initiate a handshake, but buffered data will still be readable from the socket buffer. This data will not be authenticated if the server-side TLS peer is expecting client certificate authentication, and is indistinguishable from valid TLS stream data. Data is limited in size to the amount that will fit in the buffer. (The TLS connection cannot directly be used for data exfiltration because the vulnerable code path requires that the connection be closed on initialization of the SSLSocket.) (CVE-2023-40217)
Solution
Run yum update python or yum update --advisory ALAS2-2025-2816 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1python
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- python-2.7.18-1.amzn2.0.12.aarch64
- python-libs-2.7.18-1.amzn2.0.12.aarch64
- python-devel-2.7.18-1.amzn2.0.12.aarch64
- python-tools-2.7.18-1.amzn2.0.12.aarch64
- tkinter-2.7.18-1.amzn2.0.12.aarch64
- python-test-2.7.18-1.amzn2.0.12.aarch64
- python-debug-2.7.18-1.amzn2.0.12.aarch64
- python-debuginfo-2.7.18-1.amzn2.0.12.aarch64
-
2python
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- python-2.7.18-1.amzn2.0.12.i686
- python-libs-2.7.18-1.amzn2.0.12.i686
- python-devel-2.7.18-1.amzn2.0.12.i686
- python-tools-2.7.18-1.amzn2.0.12.i686
- tkinter-2.7.18-1.amzn2.0.12.i686
- python-test-2.7.18-1.amzn2.0.12.i686
- python-debug-2.7.18-1.amzn2.0.12.i686
- python-debuginfo-2.7.18-1.amzn2.0.12.i686
-
3python
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-2.7.18-1.amzn2.0.12.src
-
4python
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- python-2.7.18-1.amzn2.0.12.x86_64
- python-libs-2.7.18-1.amzn2.0.12.x86_64
- python-devel-2.7.18-1.amzn2.0.12.x86_64
- python-tools-2.7.18-1.amzn2.0.12.x86_64
- tkinter-2.7.18-1.amzn2.0.12.x86_64
- python-test-2.7.18-1.amzn2.0.12.x86_64
- python-debug-2.7.18-1.amzn2.0.12.x86_64
- python-debuginfo-2.7.18-1.amzn2.0.12.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2007-4559 https://access.redhat.com/security/cve/CVE-2007-4559
- CVE-2023-40217 https://access.redhat.com/security/cve/CVE-2023-40217
- CVE-2007-4559 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4559
- CVE-2023-40217 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40217
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2025-2816.html | Unknown | b352b037824efdc33e0ddaf8fec8e9c0f2b6fa99afd665a2e5a009789fdf5bd0 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2816.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2816.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |