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:40:14 +0000 (11:40 +1100)
commit959c59c7a0164117e7f8366466a32bb1f8d77ff1
tree0af7cde55d5c5be34c92a28516f99f37f81b1a90
parentc309c4dce742c3eeb393a0f03f9c567d0e368ccc
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/20568)
crypto/x509/pcy_local.h
crypto/x509/pcy_node.c
crypto/x509/pcy_tree.c