-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPARK-5983 [WEBUI] Don't respond to HTTP TRACE in HTTP-based UIs #4765
Conversation
Test build #27949 has finished for PR 4765 at commit
|
@kayousterhout can I get your second opinion on this? I know you've worked on a lot of the UI code. |
Looks ok, but rather verbose (and new servlets might forget it)... wonder if there's an easy way to disable it in the |
Yeah I picked at this for a while, but didn't see a way. It's not really a server-level, or HTTP connector-level issue, but a web-app-level policy issue. I found a way to specify security constraints positively (e.g. list the methods you want to support) but it would require refactoring the code to use the one I'd still like to keep this open for a while in case anyone knows of a simple way to do this in Jetty. |
Going once going twice... I'd love to hear a slightly tidier way to handle this across the board, although, the code is just 3 lines duplicated in 3 clear places, so not a great mess nor one that couldn't be refactored later if someone had a bright-er idea. |
Disallow TRACE HTTP method in servlets Author: Sean Owen <[email protected]> Closes apache#4765 from srowen/SPARK-5983 and squashes the following commits: 421b25b [Sean Owen] Disallow TRACE HTTP method in servlets (cherry picked from commit f91298e)
Iceberg 0.13.0.3 - ADT 1.1.7 2022-05-20 PRs Merged * Internal: Parquet bloom filter support (apache#594 (https://github.pie.apple.com/IPR/apache-incubator-iceberg/pull/594)) * Internal: AWS Kms Client (apache#630 (https://github.pie.apple.com/IPR/apache-incubator-iceberg/pull/630)) * Internal: Core: Add client-side check of encryption properties (apache#626 (https://github.pie.apple.com/IPR/apache-incubator-iceberg/pull/626)) * Core: Align snapshot summary property names for delete files (apache#4766 (apache/iceberg#4766)) * Core: Add eq and pos delete file counts to snapshot summary (apache#4677 (apache/iceberg#4677)) * Spark 3.2: Clean static vars in SparkTableUtil (apache#4765 (apache/iceberg#4765)) * Spark 3.2: Avoid reflection to load metadata tables in SparkTableUtil (apache#4758 (apache/iceberg#4758)) * Core: Fix query failure when using projection on top of partitions metadata table (apache#4720) (apache#619 (https://github.pie.apple.com/IPR/apache-incubator-iceberg/pull/619)) Key Notes Bloom filter support and Client Side Encryption Features can be used in this release. Both features are only enabled with explicit flags and will not effect existing tables or jobs.
I am using spark-2.4.3, and still see HTTP TRACE / TRACK Methods Allowed, over which version was it disabled? @srowen @vanzin @kazuyukitanimura |
1.4.0 (see the JIRA) |
Disallow TRACE HTTP method in servlets