Medium
Security advisory
LibreSSL 2.5.1 to 2.5.3 lacks TLS certificate verification if SSL_get_verify_result is relied upon for a later check of a verification result, in a use case where a user-provided verification callback returns 1, as demonstrated by acceptance of invalid certificates by nginx.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-8301
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:58 UTC · Revision 1
Source evidence
LibreSSL 2.5.1 to 2.5.3 lacks TLS certificate verification if SSL_get_verify_result is relied upon for a later check of a verification result, in a use case where a user-provided verification callback returns 1, as demonstrated by acceptance of invalid certificates by nginx.
osv:CVE-2017-8301
Complete source record
{
"id": "f7dcb4e45eded54a02fdfacf30181c78ecbe52417436d523d431deaae6b958ed",
"url": "https://osv.dev/vulnerability/CVE-2017-8301",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-8301",
"summary": "LibreSSL 2.5.1 to 2.5.3 lacks TLS certificate verification if SSL_get_verify_result is relied upon for a later check of a verification result, in a use case where a user-provided verification callback returns 1, as demonstrated by acceptance of invalid certificates by nginx.",
"evidence": "osv:CVE-2017-8301",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-8301",
"aliases": [
"CVE-2017-8301"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libressl/portable",
"type": "GIT",
"events": [
{
"introduced": "b67d365454e3d35f775dda738697615094e81c4e"
},
{
"last_affected": "b2a6ff75b73195ffc1b71c76deaf878997ffd870"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openbsd:libressl:2.5.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.1"
},
{
"last_affected": "2.5.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:openbsd:libressl:2.5.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.2"
},
{
"last_affected": "2.5.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:openbsd:libressl:2.5.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.3"
},
{
"last_affected": "2.5.3"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.5.1",
"2.5.2",
"2.5.3",
"v2.5.3",
"v2.5.2",
"v2.5.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-8301.json"
}
}
],
"modified": "2026-10-20T10:49:34.290811150Z",
"provider": "osv",
"references": [
"https://github.com/libressl-portable/portable/issues/307",
"https://trac.nginx.org/nginx/ticket/1257"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-8301",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380561,
"published_at": "2017-04-27T17:59:00.187+00:00"
}