[openssl/openssl] 3a8137: x509: excessive resource use verifying policy cons...

Pauli noreply at github.com
Wed Mar 22 00:47:45 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 3a81370f75b832102e9969533a25ca53fe0b254e
      https://github.com/openssl/openssl/commit/3a81370f75b832102e9969533a25ca53fe0b254e
  Author: Pauli <pauli at openssl.org>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M crypto/x509/pcy_local.h
    M crypto/x509/pcy_node.c
    M crypto/x509/pcy_tree.c

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20571)


  Commit: cca6c050dbf8e377794303ec37aa43cb567afda1
      https://github.com/openssl/openssl/commit/cca6c050dbf8e377794303ec37aa43cb567afda1
  Author: Pauli <pauli at openssl.org>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    A test/recipes/80-test_policy_tree.t
    A test/recipes/80-test_policy_tree_data/large_leaf.pem
    A test/recipes/80-test_policy_tree_data/large_policy_tree.pem
    A test/recipes/80-test_policy_tree_data/small_leaf.pem
    A test/recipes/80-test_policy_tree_data/small_policy_tree.pem

  Log Message:
  -----------
  test: add test cases for the policy resource overuse

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 at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20571)


  Commit: 83ff6cbd9a02ed713bf66f960ab9aea5fced49a3
      https://github.com/openssl/openssl/commit/83ff6cbd9a02ed713bf66f960ab9aea5fced49a3
  Author: Pauli <pauli at openssl.org>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M CHANGES.md

  Log Message:
  -----------
  changes: note about policy tree size limits and circumvention

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20571)


Compare: https://github.com/openssl/openssl/compare/03fa5127ded6...83ff6cbd9a02


More information about the openssl-commits mailing list