Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-8194: There is a defect in the CPython "tarfile" module affecting the "TarFile" extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the "tarfile" module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python3 | 0:3.7.16-1.amzn2.0.19 |
| Amazon Linux · 2 | python3-debug | 0:3.7.16-1.amzn2.0.19 |
| Amazon Linux · 2 | python3-debuginfo | 0:3.7.16-1.amzn2.0.19 |
| Amazon Linux · 2 | python3-devel | 0:3.7.16-1.amzn2.0.19 |
| Amazon Linux · 2 | python3-libs | 0:3.7.16-1.amzn2.0.19 |
| Amazon Linux · 2 | python3-test | 0:3.7.16-1.amzn2.0.19 |
| Amazon Linux · 2 | python3-tkinter | 0:3.7.16-1.amzn2.0.19 |
| Amazon Linux · 2 | python3-tools | 0:3.7.16-1.amzn2.0.19 |
Vulnerabilities 1
-
High 7.5
Tarfile infinite loop during parsing with negative member offset
There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsi…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2025-8194.html