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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/11 04:49:00 UTC
[jira] [Work logged] (HDFS-16453) Upgrade okhttp from 2.7.5 to 4.9.3
[ https://issues.apache.org/jira/browse/HDFS-16453?focusedWorklogId=789365&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-789365 ]
ASF GitHub Bot logged work on HDFS-16453:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Jul/22 04:48
Start Date: 11/Jul/22 04:48
Worklog Time Spent: 10m
Work Description: pan3793 commented on PR #4229:
URL: https://github.com/apache/hadoop/pull/4229#issuecomment-1179963242
The okhttp is used in 1 place but ### involves a language runtime deps, do we really need this upgrading? And since Hadoop already has `org.apache.httpcomponents:httpclient`, do we need okhttp?
Issue Time Tracking
-------------------
Worklog Id: (was: 789365)
Time Spent: 1h 20m (was: 1h 10m)
> 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: Ashutosh Gupta
> 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