Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

archive/zip: can panic when calling Reader.Open [Go 1.16] #44917

Closed
katiehockman opened this issue Mar 10, 2021 · 2 comments
Closed

archive/zip: can panic when calling Reader.Open [Go 1.16] #44917

katiehockman opened this issue Mar 10, 2021 · 2 comments
Labels
CherryPickApproved Used during the release process for point releases FrozenDueToAge Security
Milestone

Comments

@katiehockman
Copy link
Contributor

The Reader.Open API, new in Go 1.16, will panic when used on a ZIP archive containing files that start with “../”.

This issue is CVE-2021-27919.

@katiehockman katiehockman added Security CherryPickApproved Used during the release process for point releases labels Mar 10, 2021
@katiehockman katiehockman added this to the Go1.16.1 milestone Mar 10, 2021
@katiehockman
Copy link
Contributor Author

Fixed by 634d28d

@katiehockman
Copy link
Contributor Author

See #44916 for main issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CherryPickApproved Used during the release process for point releases FrozenDueToAge Security
Projects
None yet
Development

No branches or pull requests

2 participants