Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade okio to resolve security vulnerability #6495

Closed
cowwoc opened this issue Oct 24, 2024 · 2 comments
Closed

Upgrade okio to resolve security vulnerability #6495

cowwoc opened this issue Oct 24, 2024 · 2 comments
Milestone

Comments

@cowwoc
Copy link

cowwoc commented Oct 24, 2024

Describe the bug

Dependency maven:com.squareup.okio:okio:1.15.0 is vulnerable

Upgrade to 3.4.0

GHSA-w33c-445m-f8w7, Score: 5.9

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.

Read More: https://osv.dev/vulnerability/GHSA-w33c-445m-f8w7

Results powered by OSV

Fabric8 Kubernetes Client version

SNAPSHOT

Steps to reproduce

Adds dependency to pom.xml:

<dependency>
  <groupId>io.fabric8</groupId>
  <artifactId>kubernetes-client</artifactId>
</dependency>

IntelliJ warns about the aforementioned vulnerability

Expected behavior

Upgrade to version 3.4.0 or higher to resolve the vulnerability

Runtime

Kubernetes (vanilla)

Kubernetes API Server version

1.25.3@latest

Environment

Windows, Linux, macOS

Fabric8 Kubernetes Client Logs

N/A

Additional context

No response

@cowwoc
Copy link
Author

cowwoc commented Oct 24, 2024

Yeesh. Your version of okio is over 6 years old (!!)

It's definitely overdue for an upgrade.

@manusa manusa added this to the 7.0.0 milestone Oct 25, 2024
@manusa
Copy link
Member

manusa commented Oct 25, 2024

As of Kubernetes Client v7.0.0 the dependency is (will) no longer (be) there.

You should be able to verify this in our nightly builds.

See:

@manusa manusa closed this as completed Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants