fix: upgrade com.squareup.okhttp3:okhttp to 4.9.2 (CVE-2021-0341)#56344
Open
orbisai0security wants to merge 1 commit into
Open
fix: upgrade com.squareup.okhttp3:okhttp to 4.9.2 (CVE-2021-0341)#56344orbisai0security wants to merge 1 commit into
orbisai0security wants to merge 1 commit into
Conversation
Automated dependency upgrade by OrbisAI Security
Member
|
Can you file a JIRA ticket please? |
Author
|
I've sent a request to create an account - I've linked this PR in the request. Once it is approved I will file a JIRA ticket. |
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.
What changes were proposed in this pull request?
This PR updates the OkHttp/Okio versions used by the
hadoop-cloudmodule:com.squareup.okhttp3:okhttp:3.12.12→4.9.2com.squareup.okio:okio:1.17.6→2.10.0Why are the changes needed?
The current OkHttp version is flagged by dependency scanners for CVE-2021-0341.
This PR is intended as dependency security hygiene for Spark distributions that include the
hadoop-cloudmodule and to reduce downstream vulnerability scanner findings.I am not claiming a confirmed Spark-specific exploit path here. The change should primarily be reviewed for dependency compatibility, especially because OkHttp 4.x may have different runtime/transitive dependency implications than the 3.12.x line.
If maintainers prefer staying on the OkHttp 3.12 maintenance line for compatibility reasons, I am happy to revise the PR to use a more conservative compatible version instead.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing dependency/build validation should cover this change.
I will run the relevant Maven tests/checks requested by maintainers.
Changes
hadoop-cloud/pom.xmlVerification
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