x509: excessive resource use verifying policy constraints
authorPauli <pauli@openssl.org>
Wed, 8 Mar 2023 04:28:20 +0000 (15:28 +1100)
committerPauli <pauli@openssl.org>
Wed, 22 Mar 2023 00:24:45 +0000 (11:24 +1100)
commit3a81370f75b832102e9969533a25ca53fe0b254e
tree4dbfc0566f023555ef857eb9d97a959ea74389ec
parent03fa5127ded6ba0dc9f178090eca0dbe70769c0e
x509: excessive resource use verifying policy constraints

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 https://github.com/openssl/openssl/pull/20571)
crypto/x509/pcy_local.h
crypto/x509/pcy_node.c
crypto/x509/pcy_tree.c