OkHttp through 5.5.1 contains an improper certificate validation vulnerability in CertificatePinner that skips pin checks because Pin.matchesHostname...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:18.04:LTSlibokhttp-java |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibokhttp-java |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibokhttp-java |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibokhttp-java |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libokhttp-java |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibokhttp-java |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
OkHttp through 5.5.1 contains an improper certificate validation vulnerability in CertificatePinner that skips pin checks because Pin.matchesHostname does not normalize trailing-dot hostnames. Network attackers with a CA-trusted certificate not matching configured pins can intercept or modify TLS traffic when applications request the trailing-dot form of pinned hosts.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com
- report vulncheck.com