com.squareup.okhttp3:okhttp@3.1.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.squareup.okhttp3:okhttp package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Information Exposure

com.squareup.okhttp3:okhttp is a HTTP & HTTP/2 client for Android and Java applications

Affected versions of this package are vulnerable to Information Exposure. When there's an illegal character in a header value, an IllegalArgumentException is thrown whose message includes the full header value.

How to fix Information Exposure?

Upgrade com.squareup.okhttp3:okhttp to version 4.9.2 or higher.

[,4.9.2)
  • M
SSL Certificate Bypass

com.squareup.okhttp3:okhttp is HTTP & HTTP/2 client for Android and Java applications

Affected versions of this package are vulnerable to SSL Certificate Bypass. It 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.

How to fix SSL Certificate Bypass?

Upgrade com.squareup.okhttp3:okhttp to version 3.1.2 or higher.

[3.0.0,3.1.2)