The int_x509_param_set_hosts function in lib/libcrypto/x509/x509_vpm.c in LibreSSL 2.7.0 before 2.7.1 does not support a certain special case of a zero name length, which causes silent omission of hostname verification, and consequently allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate. NOTE: the LibreSSL documentation indicates that this special case is supported, but the BoringSSL documentation does not.
Advisories
Source ID Title
EUVD EUVD EUVD-2018-20577 The int_x509_param_set_hosts function in lib/libcrypto/x509/x509_vpm.c in LibreSSL 2.7.0 before 2.7.1 does not support a certain special case of a zero name length, which causes silent omission of hostname verification, and consequently allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate. NOTE: the LibreSSL documentation indicates that this special case is supported, but the BoringSSL documentation does not.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T07:10:47.345Z

Reserved: 2018-03-24T00:00:00

Link: CVE-2018-8970

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-03-24T21:29:00.227

Modified: 2024-11-21T04:14:42.590

Link: CVE-2018-8970

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.