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

Fix DH_check() excessive time with oversized modulus #1109

Merged
merged 5 commits into from
Jul 21, 2023

Conversation

skmcgrail
Copy link
Member

Description of changes:

Addresses CVE-2023-3446 which was low severity issue reported to OpenSSL on July 13th 2023. (See bulletin.

Excessively long DH keys can be slow to check which may lead to denial of service.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

samuel40791765
samuel40791765 previously approved these changes Jul 20, 2023
crypto/fipsmodule/dh/check.c Show resolved Hide resolved
torben-hansen
torben-hansen previously approved these changes Jul 20, 2023
Copy link
Contributor

@torben-hansen torben-hansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note we use 64 rounds of MR, not 128.

justsmth
justsmth previously approved these changes Jul 20, 2023
samuel40791765
samuel40791765 previously approved these changes Jul 20, 2023
@skmcgrail skmcgrail enabled auto-merge (squash) July 21, 2023 20:48
@skmcgrail skmcgrail merged commit 9545d9d into aws:main Jul 21, 2023
@skmcgrail skmcgrail mentioned this pull request Aug 1, 2023
@skmcgrail skmcgrail deleted the CVE-2023-3446 branch August 1, 2023 21:29
skmcgrail added a commit to skmcgrail/aws-lc that referenced this pull request Aug 1, 2023
skmcgrail added a commit to skmcgrail/aws-lc that referenced this pull request Aug 1, 2023
skmcgrail added a commit to skmcgrail/aws-lc that referenced this pull request Aug 1, 2023
skmcgrail added a commit that referenced this pull request Aug 2, 2023
…check (#1127)

* Fix DH_check() excessive time with oversized modulus (#1109)

(cherry picked from commit 9545d9d)

* Fix Excessive time spent checking DH q parameter value (#1121)

(cherry picked from commit 1bb574f)

* Add GitHub CODEOWNERS
skmcgrail added a commit that referenced this pull request Aug 2, 2023
… DH_check (#1128)

* Fix DH_check() excessive time with oversized modulus (#1109)

(cherry picked from commit 9545d9d)

* Fix Excessive time spent checking DH q parameter value (#1121)

(cherry picked from commit 1bb574f)
skmcgrail added a commit that referenced this pull request Aug 2, 2023
…check (#1129)

* Fix DH_check() excessive time with oversized modulus (#1109)

(cherry picked from commit 9545d9d)

* Fix Excessive time spent checking DH q parameter value (#1121)

(cherry picked from commit 1bb574f)
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.

4 participants