Okio Signed to Unsigned Conversion Error vulnerability
GzipSource does not handle an exception that might be raised when parsing a malformed gzip buffer. This may lead to denial of service of the Okio client when handling a crafted GZIP archive, by using the GzipSource class.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.squareup.okio:okio | >= 2.0.0-RC1, < 3.4.0, < 1.17.6 | 3.4.0, 1.17.6 |
| Java / Kotlin (Maven) | com.squareup.okio:okio-jvm | >= 2.0.0-RC1, < 3.4.0 | 3.4.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-3635
- https://github.com/square/okio/pull/1280
- https://github.com/square/okio/pull/1334
- https://github.com/square/okio/commit/81bce1a30af244550b0324597720e4799281da7b
- https://github.com/square/okio/commit/b4fa875dc24950680c386e4b1c593660ce4f7839
- https://github.com/square/okio
- https://github.com/square/okio/blob/master/CHANGELOG.md#version-1176
- https://research.jfrog.com/vulnerabilities/okio-gzip-source-unhandled-exception-dos-xray-523195
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-195, CWE-681- Platform
- Java / Kotlin (Maven)
- Package
com.squareup.okio:okio, com.squareup.okio:okio-jvm- Disclosed
- 12.07.2023
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-w33c-445m-f8w7 - CC BY 4.0
Vulnerability history: com.squareup.okio:okio-jvm
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.