Is com.squareup.okhttp3:okhttp 4.9 vulnerable?
Maven · 4 releases from 4.9.0 to 4.9.3 · latest com.squareup.okhttp3:okhttp is 5.5.1 · checked 18 Nov 2026
No known advisories in the last release
com.squareup.okhttp3:okhttp 4.9.3, the last 4.9 release, has no known advisories. 1 advisory affects earlier 4.9.x releases, so update to 4.9.3.
mvn versions:use-dep-version -Dincludes=com.squareup.okhttp3:okhttp -DdepVersion=4.9.3 -DforceVersion=trueIs your project on an affected com.squareup.okhttp3:okhttp?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Fixed within 4.9.x, affecting earlier releases
Square OkHttp can accept the wrong certificate
- Affected
- <4.9.2
- Fixed in
- 4.9.2
Every com.squareup.okhttp3:okhttp 4.9.x release
Affected: 4.9.0 to 4.9.1. 4.9.2 and later are not affected. Latest com.squareup.okhttp3:okhttp: 5.5.1.
| Version | Known advisories |
|---|---|
| com.squareup.okhttp3:okhttp 4.9.3 | None |
| com.squareup.okhttp3:okhttp 4.9.2 | None |
| com.squareup.okhttp3:okhttp 4.9.1 | CVE-2021-0341 |
| com.squareup.okhttp3:okhttp 4.9.0 | CVE-2021-0341 |
Which of your client projects are still on com.squareup.okhttp3:okhttp 4.9?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact com.squareup.okhttp3:okhttp version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other com.squareup.okhttp3:okhttp versions
- com.squareup.okhttp3:okhttp 4.12
- com.squareup.okhttp3:okhttp 4.11
- com.squareup.okhttp3:okhttp 4.10
- com.squareup.okhttp3:okhttp 4.8
- com.squareup.okhttp3:okhttp 4.7
- com.squareup.okhttp3:okhttp 4.6
- com.squareup.okhttp3:okhttp 5.5
- com.squareup.okhttp3:okhttp 5.4
- com.squareup.okhttp3:okhttp 5.3
- com.squareup.okhttp3:okhttp 5.2
- com.squareup.okhttp3:okhttp 5.1
- com.squareup.okhttp3:okhttp 5.0
- All com.squareup.okhttp3:okhttp advisories
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.