close
Skip to content

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

Merged
klauspost merged 1 commit into
masterfrom
gunzip-possible-deep-recursion
Jul 13, 2022
Merged

gzip: fix stack exhaustion bug in Reader.Read#641
klauspost merged 1 commit into
masterfrom
gunzip-possible-deep-recursion

Conversation

@klauspost

Copy link
Copy Markdown
Owner

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
@klauspost klauspost deleted the gunzip-possible-deep-recursion branch July 13, 2022 11:23
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