]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
python3: fix CVE-2025-8194
authorPraveen Kumar <praveen.kumar@windriver.com>
Wed, 6 Aug 2025 05:38:44 +0000 (11:08 +0530)
committerSteve Sakoman <steve@sakoman.com>
Wed, 6 Aug 2025 15:55:00 +0000 (08:55 -0700)
commitc0f1143ca3f189fc6346a445a381829aed78aae8
tree5e84bc33d1f1ad4cd2165304f0699b386b7f5928
parentde442af2a5a08518e61d0c76484a3099bac6d46d
python3: fix 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

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-8194

Upstream-patch:
https://github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/python/python3/CVE-2025-8194.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.13.4.bb