CVE-2018-8970Openbsd Libressl
High 7.4 No auth needed
Follow: this CVE · Openbsd · Openbsd Libressl We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.4
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Mar 24, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Libressl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openbsd | libressl | 2.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- boringssl.googlesource.com Third Party Advisory
- ftp.openbsd.org Vendor Advisory
- github.com Patch Third Party Advisory