com.squareup.okhttp3:okhttp@4.0.0-alpha02 vulnerabilities

  • latest version

    5.3.2

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Certificate Validation

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

    Affected versions of this package are vulnerable to Improper Certificate Validation via the verifyHostName function in OkHostnameVerifier.java. An attacker can gain unauthorized access to sensitive information by presenting a certificate for an incorrect domain, which is improperly accepted during cryptographic verification.

    How to fix Improper Certificate Validation?

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

    [,4.9.2)
    • 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)