cve.bz

CVE-2023-3635 squareup okio: Signed to Unsigned Conversion Error

7.5 highExploit referenceEPSS 1.3%Fix available

High (7.5) in squareup okio. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in com.squareup.okio:okio 1.17.6, 3.4.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-681 Incorrect Conversion between Numeric Types
CWE-195 Signed to Unsigned Conversion Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-3635 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3635?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3635?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3635 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
squareup:okiofrom 0.5.0 before 1.17.6
squareup:okiofrom 2.0.0 before 3.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w33c-445m-f8w7Mavencom.squareup.okio:okio>=2.0.0-RC1 <3.4.03.4.0
GHSA-w33c-445m-f8w7Mavencom.squareup.okio:okio<1.17.61.17.6
GHSA-w33c-445m-f8w7Mavencom.squareup.okio:okio-jvm>=2.0.0-RC1 <3.4.03.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreokiono fix listedUBUNTU-CVE-2023-3635

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat JBoss Enterprise Application Platform XP does contain Okio package but is not using GzipSource.java, which is the affected class.

Red Hat support for Spring Boot is considered low impact as it's used by Dekorate during compilation process and not included in the resulting Jar.

ProductPackageStateAdvisory
Red Hat AMQ Streams 2.5.0Fixed 2023-09-14RHSA-2023:5165
Red Hat Fuse 7.12.1okioFixed 2023-11-15RHSA-2023:7247
Red Hat JBoss Enterprise Application Platform Expansion PackokioFixed 2024-05-28RHSA-2024:3385
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/code-rhel8:3.16-20Fixed 2024-09-12RHSA-2024:6667
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/configbump-rhel8:3.16-4Fixed 2024-09-12RHSA-2024:6667
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/dashboard-rhel8:3.16-27Fixed 2024-09-12RHSA-2024:6667
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/devfileregistry-rhel8:3.16-67Fixed 2024-09-12RHSA-2024:6667
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/devspaces-operator-bundle:3.16-70Fixed 2024-09-12RHSA-2024:6667
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/devspaces-rhel8-operator:3.16-11Fixed 2024-09-12RHSA-2024:6667
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/idea-rhel8:3.16-3Fixed 2024-09-12RHSA-2024:6667
Cryostat 2okioNot affected
Red Hat build of Apicurio Registry 2okioAffected
Red Hat Data Grid 8okioFix deferred
Red Hat Decision Manager 7okioOut of support scope
Red Hat JBoss Enterprise Application Platform 7okioNot affected
Red Hat JBoss Fuse 6okioOut of support scope
Red Hat OpenShift Application RuntimesokioWill not fix
Red Hat OpenShift Container Platform 3.11openshift3/metrics-hawkular-metricsOut of support scope
Red Hat OpenShift Container Platform 3.11openshift3/ose-logging-elasticsearch5Out of support scope
Red Hat OpenShift Container Platform 3.11openshift3/ose-metrics-hawkular-metricsOut of support scope
13 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3635.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

References

Check your stackJSON