Skip to content

Commit f9490e0

Browse files
committed
Update OSV records from CVE
1 parent ee10d5c commit f9490e0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

advisories/python/PSF-2025-11.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"modified": "2025-07-28T19:30:55Z",
3-
"published": "2025-07-28T18:42:44Z",
2+
"modified": "2025-07-29T13:37:55.944Z",
3+
"published": "2025-07-28T18:42:44.847Z",
44
"schema_version": "1.5.0",
55
"id": "PSF-2025-11",
66
"aliases": [
77
"CVE-2025-8194"
88
],
9-
"details": "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. \n\nThis vulnerability can be mitigated by including the following patch after importing the “tarfile” module:\n\n\n\nimport tarfile\n\ndef _block_patched(self, count):\n    if count \u003c 0: # pragma: no cover\n        raise tarfile.InvalidHeaderError(\"invalid offset\")\n    return _block_patched._orig_block(self, count)\n\n_block_patched._orig_block = tarfile.TarInfo._block\ntarfile.TarInfo._block = _block_patched",
9+
"details": "There is a defect in the CPython \u201ctarfile\u201d module affecting the \u201cTarFile\u201d 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. \n\nThis vulnerability can be mitigated by including the following patch after importing the \u201ctarfile\u201d module:\u00a0 https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1",
1010
"affected": [
1111
{
1212
"ranges": [
@@ -48,9 +48,13 @@
4848
{
4949
"type": "FIX",
5050
"url": "https://github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe"
51+
},
52+
{
53+
"type": "WEB",
54+
"url": "https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1"
5155
}
5256
],
5357
"database_specific": {
5458
"cwe_ids": []
5559
}
56-
}
60+
}

0 commit comments

Comments
 (0)