square/okio · Security
Okio Signed to Unsigned Conversion Error vulnerability
- GHSA ID
- GHSA-w33c-445m-f8w7
- CVE ID
- CVE-2023-3635
- Severity
- medium
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-195 · Signed to Unsigned Conversion Error
- CWE-681 · Incorrect Conversion between Numeric Types
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-3635 ↗
- https://github.com/square/okio/commit/81bce1a30af244550b0324597720e4799281da7b ↗
- https://research.jfrog.com/vulnerabilities/okio-gzip-source-unhandled-exception-dos-xray-523195/ ↗
- https://github.com/square/okio/pull/1280 ↗
- https://github.com/square/okio/pull/1334 ↗
- https://github.com/square/okio/commit/b4fa875dc24950680c386e4b1c593660ce4f7839 ↗
- https://github.com/square/okio/blob/master/CHANGELOG.md#version-1176 ↗
- https://github.com/advisories/GHSA-w33c-445m-f8w7 ↗