Releases141
Frequency1 month 3 days
Last Release
Stars47K
A meticulous HTTP client for the JVM, Android, and GraalVM.

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
< 4.9.24.7 MEDIUM

A flaw was found in Red Hat's AMQ-Streams, which ships a version of the OKHttp component with an information disclosure flaw via an exception triggered by a header containing an illegal value. This issue could allow an authenticated attacker to access information outside of their regular permissions.

= *5.9 MEDIUM

DoS of the OkHttp client when using a BrotliInterceptor and surfing to a malicious web server, or when an attacker can perform MitM to inject a Brotli zip-bomb into an HTTP response

>= 3.0.0, <= 3.12.04.3 MEDIUM

CertificatePinner.java in OkHttp 3.x through 3.12.0 allows man-in-the-middle attackers to bypass certificate pinning by changing SSLContext and the boolean values while hooking the application. NOTE: This id is disputed because some parties don't consider this is a vulnerability. Their rationale can be found in https://github.com/square/okhttp/issues/4967

<= 2.7.35.9 MEDIUM4.3 MEDIUM

OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.