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

Security Fix: Okio CVE-2023-3635 + OkHttp Jar Update #23796

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Mariamalmesfer
Copy link
Contributor

@Mariamalmesfer Mariamalmesfer commented Oct 9, 2024

Description

This PR fixes the Okio security vulnerability (CVE-2023-3635) by upgrading from version 1.17.2 to 3.6.0. It also includes an update to the OkHttp jar.

Motivation and Context

A flaw was found in Okio’s GzipSource class that doesn’t handle exceptions properly, allowing potential Denial of Service (DoS) attacks with malformed files.

CVE-2023-3635: Details

Impact

Image Scan showed the vulnerability have been removed.
correlation-report-ibm-lh-presto-okie check.csv

Test Plan

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

Please follow release notes guidelines and fill in the release notes below.

 == RELEASE NOTES == =
Security Changes
* Upgrade okio to 3.6.0 in response to `CVE-2023-3635 <https://github.com/advisories/GHSA-w33c-445m-f8w7>`_. :pr:`23796`
* Upgrade okhttp to 4.12.0 in response to `CVE-2023-3635 <https://github.com/advisories/GHSA-w33c-445m-f8w7>`_.  :pr:`23796`

Copy link

linux-foundation-easycla bot commented Oct 9, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@Mariamalmesfer Mariamalmesfer force-pushed the okie-fix branch 2 times, most recently from 1e17bcc to 8bed2f9 Compare October 13, 2024 09:24
@Mariamalmesfer Mariamalmesfer marked this pull request as ready for review October 13, 2024 09:34
@Mariamalmesfer Mariamalmesfer requested a review from a team as a code owner October 13, 2024 09:34
@ZacBlanco ZacBlanco self-requested a review October 14, 2024 17:14
@Mariamalmesfer Mariamalmesfer force-pushed the okie-fix branch 3 times, most recently from f8715a8 to e3b47f0 Compare October 15, 2024 13:51
@Mariamalmesfer Mariamalmesfer marked this pull request as draft October 24, 2024 08:04
@Mariamalmesfer Mariamalmesfer force-pushed the okie-fix branch 5 times, most recently from e13efb9 to dab801a Compare November 4, 2024 06:46
@steveburnett
Copy link
Contributor

Thanks for the release note entry! Nit to remove # from the PR number.

 == RELEASE NOTES == =

Security Changes
* Upgrade okio to 3.6.0 :pr:`23796`
* Upgrade okhttp to 4.12.0 :pr:`23796`

@Mariamalmesfer Mariamalmesfer force-pushed the okie-fix branch 12 times, most recently from af5b4c3 to ef04384 Compare November 7, 2024 22:14
@Mariamalmesfer Mariamalmesfer force-pushed the okie-fix branch 2 times, most recently from ec57bd1 to cf9024b Compare December 5, 2024 20:39
@Mariamalmesfer Mariamalmesfer marked this pull request as ready for review December 5, 2024 20:45
@prestodb-ci prestodb-ci added the from:IBM PR from IBM label Dec 5, 2024
@prestodb-ci prestodb-ci requested review from a team, zuyu and infvg and removed request for a team December 5, 2024 20:45
@Mariamalmesfer Mariamalmesfer marked this pull request as draft December 5, 2024 20:46
@Mariamalmesfer Mariamalmesfer force-pushed the okie-fix branch 12 times, most recently from 04ea41e to 5de7a82 Compare December 10, 2024 13:10
Open source nexus deployment requires the creation of a JAR with Javadoc.  Because we depend
on the code in the `presto-native-execution` module now in other modules for tests, we need
to release these artifacts to Nexus along with the rest of the modules we release.

Because there is only testing code in this module, it fails during Nexus deployment.  Adding
a dummy class with Javadoc to allow this artifact to be released.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from:IBM PR from IBM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants