Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 21, 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.

Regression test added by: Gregory P. Smith [Google LLC] [email protected]
(cherry picked from commit 0e4e058)

Co-authored-by: Theo Buehler [email protected]

…-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]>
@miss-islington miss-islington requested a review from tiran as a code owner October 21, 2022 19:26
@bedevere-bot bedevere-bot added type-crash A hard crash of the interpreter, possibly with a core dump type-security A security issue labels Oct 21, 2022
@gpshead gpshead changed the title [3.9] [3.10] gh-98517: Fix buffer overflows in _sha3 module (GH-98519) [3.9] gh-98517: Fix buffer overflows in _sha3 module (GH-98519) Oct 21, 2022
@gpshead gpshead added the 3.9 (EOL) end of life label Oct 21, 2022
@miss-islington
Copy link
Contributor Author

Sorry, I can't merge this PR. Reason: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.9 (EOL) end of life release-blocker type-crash A hard crash of the interpreter, possibly with a core dump type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants