CVE-2018-8970 json
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 2018-03-24 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-20577
- cvss
- 7.4
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- 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.
Patch / fix
- libressl openSUSE Tumbleweed 3.3.4-1.2
opensuse advisories openSUSE-SU-2024:10985-1
Exploit prediction
1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.4 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 5.8 | AV: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
patch, third-party-advisory
-
boringssl.googlesource.com
/boringssl/+/e759a9cd84198613199259dbed401f4951747cff
third-party-advisory
-
ftp.openbsd.org
/pub/OpenBSD/LibreSSL/libressl-2.7.1-relnotes.txt
vendor-advisory
Sources
- CVE List CVE-2018-8970
- NVD CVE-2018-8970
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.