7.4high

CVE-2018-8970

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 ca…

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.4
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.0%
percentile 64%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

1.02% probability of exploitation in the next 30 days, higher than 64% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.4CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD2.05.8AV:N/AC:M/Au:N/C:P/I:P/A:N

Classification

Weakness
  • CWE-295 Improper Certificate Validation

References

  • github.com /libressl-portable/openbsd/commit/0654414afcce51a16d35d05060190a3ec4618d42 · x_refsource_MISC, x_transferred
  • ftp.openbsd.org /pub/OpenBSD/LibreSSL/libressl-2.7.1-relnotes.txt · x_refsource_MISC, x_transferred
  • boringssl.googlesource.com /boringssl/+/e759a9cd84198613199259dbed401f4951747cff · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.