Skip to content

Commit 1d7e548

Browse files
1 parent 82f3abe commit 1d7e548

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-w476-p2h3-79g9",
4+
"modified": "2025-10-21T18:53:28Z",
5+
"published": "2025-10-21T18:53:27Z",
6+
"aliases": [],
7+
"summary": "uv has differential in tar extraction with PAX headers",
8+
"details": "### Impact\n\nIn versions 0.9.4 and earlier of uv, tar archives containing PAX headers with file size overrides were not handled properly. As a result, an attacker could contrive a source distribution (as a tar archive) that would extract differently when installed via uv versus other Python package installers.\n\nThe underlying parsing differential here originates with astral-tokio-tar, which disclosed this vulnerability as CVE-2025-62518.\n\nIn practice, the impact of this vulnerability is **low**: only source distributions can be formatted as tar archives, and source distributions execute arbitrary code at build/installation time by definition. Consequently, a parser differential in tar extraction is strictly less powerful than the capabilities already exposed to an attacker who has the ability to control source distributions. \n\nHowever, this particular source of malleability in source distributions is unintentional and not operating by design, and therefore we consider it a vulnerability despite its overlap in capabilities with intended behavior.\n\n### Patches\n\nVersions 0.9.5 and newer of uv address the vulnerability above. Users should upgrade to 0.9.5 or newer.\n\n### Workarounds\n\nUsers are advised to upgrade to version 0.9.5 or newer to address this advisory.\n\nUsers should experience no breaking changes as a result of the patch above.\n\n### References\n\n* See CVE-2025-62518 for the corresponding advisory against astral-tokio-tar",
9+
"severity": [],
10+
"affected": [
11+
{
12+
"package": {
13+
"ecosystem": "PyPI",
14+
"name": "uv"
15+
},
16+
"ranges": [
17+
{
18+
"type": "ECOSYSTEM",
19+
"events": [
20+
{
21+
"introduced": "0"
22+
},
23+
{
24+
"fixed": "0.9.5"
25+
}
26+
]
27+
}
28+
],
29+
"database_specific": {
30+
"last_known_affected_version_range": "<= 0.9.4"
31+
}
32+
}
33+
],
34+
"references": [
35+
{
36+
"type": "WEB",
37+
"url": "https://github.com/astral-sh/uv/security/advisories/GHSA-w476-p2h3-79g9"
38+
},
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/astral-sh/uv/pull/16387"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/astral-sh/uv/commit/ae450662d1546e9853f67a8c61a506d3a892d963"
46+
},
47+
{
48+
"type": "ADVISORY",
49+
"url": "https://github.com/advisories/GHSA-j5gw-2vrg-8fgx"
50+
},
51+
{
52+
"type": "PACKAGE",
53+
"url": "https://github.com/astral-sh/uv"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/astral-sh/uv/releases/tag/0.9.5"
58+
}
59+
],
60+
"database_specific": {
61+
"cwe_ids": [
62+
"CWE-843"
63+
],
64+
"severity": "LOW",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2025-10-21T18:53:27Z",
67+
"nvd_published_at": null
68+
}
69+
}

0 commit comments

Comments
 (0)