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

CVE-2023-0464 fix exponential growth of policy tree for 3.1 #20570

Closed
wants to merge 3 commits into from

Conversation

paulidale
Copy link
Contributor

  • documentation is added or updated
  • tests are added or updated

A security vulnerability has been identified in all supported versions
of OpenSSL related to the verification of X.509 certificate chains
that include policy constraints.  Attackers may be able to exploit this
vulnerability by creating a malicious certificate chain that triggers
exponential use of computational resources, leading to a denial-of-service
(DoS) attack on affected systems.

Fixes CVE-2023-0464

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
These trees have pathological properties with respect to building.  The small
tree stays within the imposed limit, the large tree doesn't.

The large tree would consume over 150Gb of RAM to process.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
@paulidale paulidale added approval: ready to merge The 24 hour grace period has passed, ready to merge branch: 3.1 Merge to openssl-3.1 labels Mar 22, 2023
@paulidale paulidale self-assigned this Mar 22, 2023
@paulidale paulidale changed the title OpensCVE-2023-0464 fix exponential growth of policy tree for 111sl 3.1 CVE-2023-0464 fix exponential growth of policy tree for 3.1 Mar 22, 2023
@paulidale
Copy link
Contributor Author

Approved in security repo, merged.

@paulidale paulidale closed this Mar 22, 2023
openssl-machine pushed a commit that referenced this pull request Mar 22, 2023
A security vulnerability has been identified in all supported versions
of OpenSSL related to the verification of X.509 certificate chains
that include policy constraints.  Attackers may be able to exploit this
vulnerability by creating a malicious certificate chain that triggers
exponential use of computational resources, leading to a denial-of-service
(DoS) attack on affected systems.

Fixes CVE-2023-0464

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from #20570)
openssl-machine pushed a commit that referenced this pull request Mar 22, 2023
These trees have pathological properties with respect to building.  The small
tree stays within the imposed limit, the large tree doesn't.

The large tree would consume over 150Gb of RAM to process.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from #20570)
openssl-machine pushed a commit that referenced this pull request Mar 22, 2023
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from #20570)
@paulidale paulidale deleted the policy-tree-31 branch March 22, 2023 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: 3.1 Merge to openssl-3.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant