-
Notifications
You must be signed in to change notification settings - Fork 914
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
[FEATURE] Kyuubi Jetty server should be able to hide version info in response, thus avoiding vulnerability exposure. #6615
Labels
Comments
Hello @paul8263, |
paul8263
added a commit
to paul8263/kyuubi
that referenced
this issue
Aug 14, 2024
…ing server version in response.
4 tasks
paul8263
added a commit
to paul8263/kyuubi
that referenced
this issue
Aug 14, 2024
…ing server version in response.
paul8263
added a commit
to paul8263/kyuubi
that referenced
this issue
Aug 14, 2024
paul8263
added a commit
to paul8263/kyuubi
that referenced
this issue
Aug 14, 2024
paul8263
added a commit
to paul8263/kyuubi
that referenced
this issue
Aug 15, 2024
pan3793
pushed a commit
that referenced
this issue
Aug 16, 2024
…able This pull request fixes #6615 Add a config item that controls whether Jetty should send its version in response. Sending Jetty version could be disabled by calling HttpConfiguration::setSendServerVersion(false) - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) Compiled and tested manually. --- - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6616 from paul8263/KYUUBI-6615. Closes #6615 c1567fd [zhang_yao] [KYUUBI #6615] Make Jetty sending server version in response configurable Authored-by: zhang_yao <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 7c20e69) Signed-off-by: Cheng Pan <[email protected]>
paul8263
added a commit
to paul8263/kyuubi
that referenced
this issue
Sep 11, 2024
4 tasks
paul8263
added a commit
to paul8263/kyuubi
that referenced
this issue
Sep 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code of Conduct
Search before asking
Describe the feature
Add a switch for enabling/disabling jetty sending server version in response.
Motivation
By default Jetty always send version in ressponse, such as Jetty(9.4.54.v20240208), which could expose vulnerablilty. Malicious visitors could easily detect Jetty version and then perform specific attack.
Describe the solution
Add a config item that controls whether Jetty should send its version in response.
Sending Jetty version could be disabled by calling HttpConfiguration::setSendServerVersion(false)
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: