You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Cheng Pan (Jira)" <ji...@apache.org> on 2022/07/29 11:23:00 UTC

[jira] [Comment Edited] (HDFS-16453) Upgrade okhttp from 2.7.5 to 4.9.3

    [ https://issues.apache.org/jira/browse/HDFS-16453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17572925#comment-17572925 ] 

Cheng Pan edited comment on HDFS-16453 at 7/29/22 11:22 AM:
------------------------------------------------------------

I wanna know if we have other options instead of upgrading okhttp 4.x? Because it will introduce kotlin as deps for hadoop client, it's a JVM language deps!


was (Author: pan3793):
I wanner know if we have other options instead of upgrading okhttp 4.x? Because it will introduce kotlin as deps for hadoop client, it's a JVM language deps!

> Upgrade okhttp from 2.7.5 to 4.9.3
> ----------------------------------
>
>                 Key: HDFS-16453
>                 URL: https://issues.apache.org/jira/browse/HDFS-16453
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 3.3.1
>            Reporter: Ivan Viaznikov
>            Assignee: groot
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.4
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> {{org.apache.hadoop:hadoop-hdfs-client}} comes with {{com.squareup.okhttp:okhttp:2.7.5}} as a dependency, which is vulnerable to an information disclosure issue due to how the contents of sensitive headers, such as the {{Authorization}} header, can be logged when an {{IllegalArgumentException}} is thrown.
> This issue could allow an attacker or malicious user who has access to the logs to obtain the sensitive contents of the affected headers which could facilitate further attacks.
> Fixed in {{5.0.0-alpha3}} by [this|https://github.com/square/okhttp/commit/dcc6483b7dc6d9c0b8e03ff7c30c13f3c75264a5] commit. The fix was cherry-picked and backported into {{4.9.2}} with [this|https://github.com/square/okhttp/commit/1fd7c0afdc2cee9ba982b07d49662af7f60e1518] commit.
> Requesting you to clarify if this dependency will be updated to a fixed version in the following releases



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org