An issue was discovered in x509/x509_verify.c in LibreSSL before 3.6.1, and in OpenBSD before 7.2 errata 001. x509_verify_ctx_add_chain does not store errors that occur during leaf certificate verification, and therefore an incorrect error is returned. This behavior occurs when there is an installed verification callback that instructs the verifier to continue upon detecting an invalid certificate.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2023-04-12T00:00:00

Updated: 2024-08-03T15:10:59.870Z

Reserved: 2023-04-12T00:00:00

Link: CVE-2022-48437

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2023-04-12T05:15:07.653

Modified: 2023-04-21T14:17:04.757

Link: CVE-2022-48437

cve-icon Redhat

No data.