Skip to content

improve blob archive extraction#436

Open
cportele wants to merge 1 commit into
masterfrom
blob-zip
Open

improve blob archive extraction#436
cportele wants to merge 1 commit into
masterfrom
blob-zip

Conversation

@cportele

Copy link
Copy Markdown
Contributor

BlobExtractorZip resolved each zip entry name against the target directory and wrote it without checking containment, so an entry name with .. segments could write outside the target directory. Normalize the resolved path and skip any entry that would land outside the target root.

Adds BlobExtractorZipSpec.

BlobExtractorZip resolved each zip entry name against the target directory and
wrote it without checking containment, so an entry name with `..` segments could
write outside the target directory. Normalize the resolved path and skip any
entry that would land outside the target root.

Adds BlobExtractorZipSpec.
@cportele cportele requested a review from azahnen as a code owner July 13, 2026 11:04
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.

1 participant