YARN-11923: YARN web proxy AmIpFilter allows TRACE, bypassing sparkUI…#8206
YARN-11923: YARN web proxy AmIpFilter allows TRACE, bypassing sparkUI…#8206susheelgupta7 wants to merge 3 commits intoapache:trunkfrom
Conversation
|
Thanks @susheelgupta7 for this security upgrade. I think that if we hardcode these two HTTP methods, it will also affect non-Spark applications and could potentially break some custom YARN applications. For example, what if there is a specific YARN AM that has business logic tied to these trace calls? What do you think about creating a new configuration list of allowed HTTP methods instead of hardcoding these values? If the list is empty, everything would behave as it does currently; otherwise, the methods would be filtered against the list. |
Thanks @K0K0V0K for the review. The custom YARN applications may be impacted. I'll update the implementation to use a configurable approach. |
|
@slfan1989 Could you help me with this infra issue ?? |
1dc85a6 to
e5fd762
Compare
… TRACE block
Description of PR
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?AI Tooling
If an AI tool was used:
where is the name of the AI tool used.
https://www.apache.org/legal/generative-tooling.html