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:42:30 +0000 (11:42 +1100)
commit879f7080d7e141f415c79eaa3a8ac4a3dad0348b
tree063c6a39c2d2e9d1076c7cae8b8c793315997aae
parent969327390220aee7515a4054d5189186402d6687
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/20569)
crypto/x509v3/pcy_local.h
crypto/x509v3/pcy_node.c
crypto/x509v3/pcy_tree.c