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

debug/macho: invalid dynamic symbol table command can cause panic [1.16 backport] #48991

Closed
gopherbot opened this issue Oct 14, 2021 · 3 comments
Closed

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Oct 14, 2021

@rolandshoemaker requested issue #48990 to be considered for backport to the next 1.16 minor release.

@gopherbot please open backport issues

@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Oct 20, 2021

Approved for backport. Thanks.

Loading

@gopherbot
Copy link
Author

@gopherbot gopherbot commented Oct 28, 2021

Change https://golang.org/cl/359454 mentions this issue: [release-branch.go1.16] debug/macho: fail on invalid dynamic symbol table command

Loading

@gopherbot
Copy link
Author

@gopherbot gopherbot commented Oct 29, 2021

Closed by merging d19c5bd to release-branch.go1.16.

Loading

@gopherbot gopherbot closed this Oct 29, 2021
gopherbot pushed a commit that referenced this issue Oct 29, 2021
…able command

Fail out when loading a file that contains a dynamic symbol table
command that indicates a larger number of symbols than exist in the
loaded symbol table.

Thanks to Burak Çarıkçı - Yunus Yıldırım (CT-Zer0 Crypttech) for
reporting this issue.

Updates #48990
Fixes #48991
Fixes CVE-2021-41771

Change-Id: Ic3d6e6529241afcc959544b326b21b663262bad5
Reviewed-on: https://go-review.googlesource.com/c/go/+/355990
Reviewed-by: Julie Qiu <julie@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Katie Hockman <katie@golang.org>
(cherry picked from commit 61536ec)
Reviewed-on: https://go-review.googlesource.com/c/go/+/359454
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants