Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add directory traversal for tar #965

Merged
merged 3 commits into from
Aug 8, 2021

Conversation

kpcyrd
Copy link
Contributor

@kpcyrd kpcyrd commented Jul 19, 2021

Original report at alexcrichton/tar-rs#238, discovered and reported by @mgjm.

Even though the report is from 2020 it still has 0day status, there's currently no patch. The stale issue was shared with me by @stoeckmann.

@tarcieri
Copy link
Member

I asked about the advisory on the linked issue.

Would suggest giving a bit of time to hear back before merging this.

@tarcieri tarcieri merged commit 158cd65 into rustsec:main Aug 8, 2021
@kpcyrd
Copy link
Contributor Author

kpcyrd commented Aug 8, 2021

Oops, I just noticed there's a placeholder here:

[affected]
functions = { "tar::Archive::unpack" = ["< 1.2.3"] }

It's the correct function but there's no patched version yet.

@kpcyrd kpcyrd deleted the tar-directory-traversal branch August 8, 2021 20:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants