[3.10] gh-98517: Fix buffer overflows in _sha3 module#98519
Merged
gpshead merged 3 commits intopython:3.10from Oct 21, 2022
botovq:fix-issue-98517
Merged
[3.10] gh-98517: Fix buffer overflows in _sha3 module#98519gpshead merged 3 commits intopython:3.10from botovq:fix-issue-98517
gpshead merged 3 commits intopython:3.10from
botovq:fix-issue-98517
Conversation
This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: XKCP/XKCP@fdc6fef [2]: https://mouha.be/sha-3-buffer-overflow/
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
gpshead
approved these changes
Oct 21, 2022
Member
gpshead
left a comment
There was a problem hiding this comment.
I visually confirmed that this matches the upstream XKCP fix in XKCP/XKCP@fdc6fef.
Contributor
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Oct 21, 2022
…-98519) This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: XKCP/XKCP@fdc6fef [2]: https://mouha.be/sha-3-buffer-overflow/ Regression test added by: Gregory P. Smith [Google LLC] <[email protected]> (cherry picked from commit 0e4e058) Co-authored-by: Theo Buehler <[email protected]>
|
GH-98526 is a backport of this pull request to the 3.9 branch. |
|
GH-98527 is a backport of this pull request to the 3.8 branch. |
|
GH-98528 is a backport of this pull request to the 3.7 branch. |
|
GH-98526 is a backport of this pull request to the 3.9 branch. |
|
GH-98527 is a backport of this pull request to the 3.8 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Oct 21, 2022
…-98519) This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: XKCP/XKCP@fdc6fef [2]: https://mouha.be/sha-3-buffer-overflow/ Regression test added by: Gregory P. Smith [Google LLC] <[email protected]> (cherry picked from commit 0e4e058) Co-authored-by: Theo Buehler <[email protected]>
|
GH-98528 is a backport of this pull request to the 3.7 branch. |
ned-deily
pushed a commit
that referenced
this pull request
Oct 22, 2022
…8528) This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: XKCP/XKCP@fdc6fef [2]: https://mouha.be/sha-3-buffer-overflow/ Regression test added by: Gregory P. Smith [Google LLC] <[email protected]> (cherry picked from commit 0e4e058) Co-authored-by: Theo Buehler <[email protected]>
ambv
pushed a commit
that referenced
this pull request
Oct 28, 2022
This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: XKCP/XKCP@fdc6fef [2]: https://mouha.be/sha-3-buffer-overflow/ Regression test added by: Gregory P. Smith [Google LLC] <[email protected]> (cherry picked from commit 0e4e058) Co-authored-by: Theo Buehler <[email protected]>
ambv
pushed a commit
that referenced
this pull request
Oct 28, 2022
This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: XKCP/XKCP@fdc6fef [2]: https://mouha.be/sha-3-buffer-overflow/ Regression test added by: Gregory P. Smith [Google LLC] <[email protected]> (cherry picked from commit 0e4e058) Co-authored-by: Theo Buehler <[email protected]>
facebook-github-bot
pushed a commit
to facebookincubator/cinder
that referenced
this pull request
Dec 12, 2022
Summary: This is a cherry-pick from upstream 3.10 branch of [GH-98519](python/cpython#98519) ``` git cherry-pick 0e4e058 ``` Original commit message: This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: XKCP/XKCP@fdc6fef [2]: https://mouha.be/sha-3-buffer-overflow/ Regression test added by: Gregory P. Smith [Google LLC] <[email protected]> Reviewed By: carljm Differential Revision: D41908205 fbshipit-source-id: 199e75c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a port of the applicable part of XKCP's fix for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published by the discoverer.
Automerge-Triggered-By: GH:gpshead