Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Comments

Avoid creating directories outside of target#4

Open
charliermarsh wants to merge 1 commit intoedera-dev:ederafrom
astral-sh:charlie/ensure
Open

Avoid creating directories outside of target#4
charliermarsh wants to merge 1 commit intoedera-dev:ederafrom
astral-sh:charlie/ensure

Conversation

@charliermarsh
Copy link

Summary

This is a port of alexcrichton/tar-rs#259 which was later ported to async-tar in dignifiedquire#24. The goal is to avoid allowing archives to create directories outside of the target path by deferring the creation of directories.

charliermarsh added a commit to astral-sh/uv that referenced this pull request Feb 3, 2025
## Summary

I shipped one security fix here along with several significant
performance improvements for large TAR files:

- astral-sh/tokio-tar#2
- astral-sh/tokio-tar#4
- astral-sh/tokio-tar#5

I also PR'd the security fix to `edera-dev`
(edera-dev/tokio-tar#4).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant