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

ASF GitHub Bot commented on YARN-11923:
---------------------------------------

susheelgupta7 commented on PR #8230:
URL: https://github.com/apache/hadoop/pull/8230#issuecomment-3858834155

   @slfan1989 Could you please review this pr ??
   This pr is clone of https://github.com/apache/hadoop/pull/8206 (I created to 
bypass the infra issue blocking the build).




> YARN web proxy AmIpFilter allows TRACE, bypassing sparkUI TRACE block
> ---------------------------------------------------------------------
>
>                 Key: YARN-11923
>                 URL: https://issues.apache.org/jira/browse/YARN-11923
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>            Reporter: Susheel Gupta
>            Assignee: Susheel Gupta
>            Priority: Major
>              Labels: pull-request-available
>
> In yarn mode, sparkUI responds to http TRACE with 302 redirect. The redirect 
> happens in AmIpFilter, so the TRACE request is getting processed before spark 
> jetty handler can reject it. This causes security scanners to report TRACE 
> enabled.
> In local mode there is no yarn proxy filter, so requests go directly to spark 
> Jetty servlet. SPARK‑5983 adds TRACE filter correctly returning 405.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to