fix: upgrade com.squareup.okhttp3:okhttp to 4.9.2 (CVE-2021-0341) - #57779
Open
anupamme wants to merge 2 commits into
Open
fix: upgrade com.squareup.okhttp3:okhttp to 4.9.2 (CVE-2021-0341)#57779anupamme wants to merge 2 commits into
anupamme wants to merge 2 commits into
Conversation
Automated dependency upgrade by OrbisAI Security
Contributor
|
Member
|
Please keep the PR title, file a JIRA. Can you also describe how this affect Spark to identify if we should backport? From my understading we're not affected. |
Member
|
Also upgrading this introduces new CVEs. okhttp 4.x is Kotlin, so 4.9.2 drags in kotlin-stdlib 1.4.10 (CVE-2022-24329, CVE-2020-29582 - both moderate) and requires okio 2.x. The current okio 1.17.6 is precisely the fixed version for CVE-2023-3635 in the 1.x line; okio 2.10.0 is still vulnerable to it (fixed in 3.4.0). Net advisory count goes up. I wouldn't land this without enough assessment. |
uros-b
requested changes
Aug 5, 2026
uros-b
left a comment
Member
There was a problem hiding this comment.
The deps manifest dev/deps/spark-deps-hadoop-3-hive-2.3 was not regenerated; it still lists okhttp/3.12.12 and okio/1.17.6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade com.squareup.okhttp3:okhttp from 3.12.12 to 4.9.2 to fix CVE-2021-0341.
Vulnerability
CVE-2021-0341hadoop-cloud/pom.xml(dependency:com.squareup.okhttp3:okhttp)Description: okhttp: information disclosure via improperly used cryptographic function
Evidence
Scanner confirmation: trivy rule
CVE-2021-0341flagged this pattern.Changes
hadoop-cloud/pom.xmlBehavior Preservation
The change is scoped to 1 file on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security