cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
Moderate severity
GitHub Reviewed
Published
Nov 27, 2023
in
pyca/cryptography
•
Updated Feb 20, 2024
Description
Published to the GitHub Advisory Database
Nov 28, 2023
Reviewed
Nov 28, 2023
Published by the National Vulnerability Database
Nov 29, 2023
Last updated
Feb 20, 2024
Summary
Calling
load_pem_pkcs7_certificates
orload_der_pkcs7_certificates
could lead to a NULL-pointer dereference and segfault.PoC
Here is a Python code that triggers the issue:
Impact
Exploitation of this vulnerability poses a serious risk of Denial of Service (DoS) for any application attempting to deserialize a PKCS7 blob/certificate. The consequences extend to potential disruptions in system availability and stability.
References