com.squareup.okhttp3:okhttp vulnerabilities

Square’s meticulous HTTP client for Java and Kotlin.

Registry
Maven
Latest
5.5.1
License
The Apache Software License, Version 2.0

2 known advisories

The latest version, 5.5.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=com.squareup.okhttp3:okhttp -DdepVersion=5.5.1 -DforceVersion=true

Is your project on an affected com.squareup.okhttp3:okhttp?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for com.squareup.okhttp3:okhttp

  • HighCVE-2021-0341GHSA-3cqm-mf7h-prrj24 May 2022

    Square OkHttp can accept the wrong certificate

    Affected
    <4.9.2
    Fixed in
    4.9.2
  • MediumCVE-2016-2402GHSA-4hc2-jh7r-wrc313 May 2022

    Improper Certificate Validation in OkHttp

    Affected
    <2.7.4 · >=3.0.0 <3.1.2
    Fixed in
    2.7.4, 3.1.2

Is your com.squareup.okhttp3:okhttp version vulnerable?

Which of your client projects still run an old com.squareup.okhttp3:okhttp?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.