Skip to content

Exclude skipped tar-wheel entries from RECORD healing - #228

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt200/125-tar-wheel-traversal-record
Closed

Exclude skipped tar-wheel entries from RECORD healing#228
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt200/125-tar-wheel-traversal-record

Conversation

@zaniebot

@zaniebot zaniebot commented Jul 14, 2026

Copy link
Copy Markdown
Owner

A .whl.tar.zst member is recorded before traversal containment is enforced, so a skipped ../ member can survive RECORD healing and cause uninstall to remove an unrelated environment executable. Collect only members that were successfully unpacked.

This overlaps the tar-wheel extraction work in #19979.

Promoted upstream: astral-sh/uv#20429.

@zanieb

zanieb commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

This title needs to be more specific

@zanieb
zanieb marked this pull request as ready for review July 15, 2026 15:28
@zaniebot zaniebot changed the title Fix tar wheel RECORD traversal healing Exclude skipped tar-wheel entries from RECORD healing Jul 15, 2026
@zanieb zanieb closed this Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants