Okio GzipSource unhandled exception Denial of Service
com.squareup.okio:okio
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| com.squareup.okio:okio Maven |
|
|
| com.squareup.okio:okio-jvm Maven |
|
|
com.squareup.okio:okio
| Product | Affected | Fixed in |
|---|---|---|
| com.squareup.okio:okio Maven |
|
|
| com.squareup.okio:okio-jvm Maven |
|
|
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.
From the CVE record · JFROG
Okio’s GzipSource does not handle an exception that may occur while parsing a malformed gzip buffer. A crafted GZIP archive may cause denial of service when an Okio client processes it with GzipSource. The input does not specify whether network access, authentication, or user interaction is required.
Engineers using Maven com.squareup.okio:okio versions before 1.17.6 or from 2.0.0-RC1 to before 3.4.0, or com.squareup.okio:okio-jvm versions from 2.0.0-RC1 to before 3.4.0, should check their dependencies.