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

gzip: fix stack exhaustion bug in Reader.Read #641

Merged
merged 1 commit into from Jul 13, 2022

Conversation

klauspost
Copy link
Owner

@klauspost klauspost commented Jul 13, 2022

Replace recursion with iteration in Reader.Read to avoid stack
exhaustion when there are a large number of files.

Fixes CVE-2022-30631

Upstream: golang/go#53168

Replace recursion with iteration in Reader.Read to avoid stack
exhaustion when there are a large number of files.

Fixes CVE-2022-30631

Upstream: golang/go#53168
@klauspost klauspost merged commit 5a16edc into master Jul 13, 2022
13 checks passed
@klauspost klauspost deleted the gunzip-possible-deep-recursion branch Jul 13, 2022
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.

None yet

1 participant