Skip to content
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

[Security] Bump jetty-version from 9.4.28.v20200408 to 9.4.35.v20201120 #811

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps jetty-version from 9.4.28.v20200408 to 9.4.35.v20201120.
Updates jetty-server from 9.4.28.v20200408 to 9.4.35.v20201120

Release notes

Sourced from jetty-server's releases.

9.4.35.v20201120

Important Change

  • #5605 : java.io.IOException: unconsumed input during http request parsing

Bugs

  • #4711 : Reset trailers on recycled response
  • #5486 : PropertyFileLoginModule retains PropertyUserStores
  • #5562 : ArrayTernaryTrie consumes too much memory

Enhancements

  • #5539 : StatisticsServlet output now available in json, xml, text, and html
  • #5575 : Add SEARCH as a known HttpMethod
  • #5633 : Allow to configure HttpClient request authority (even on HTTP/2)

9.4.34.v20201102

Bugs

  • #5320 : Using WebSocketClient with jetty-websocket-httpclient.xml in a Jetty web application causes ClassCastException
  • #5521 : ResourceCollection NPE in list()
  • #5555 : NPE for servlet with no mapping

Enhancements

  • #5488 : jetty-dir.css not found when using JPMS
  • #5498 : ServletHolder lifecycle correctness
  • #5535 : Support regex in SslContextFactory include/exclude of protocols

9.4.33.v20201020

Changes

  • #5022 : Cleanup ServletHandler, specifically with respect to making filter chains more extensible
  • #5368 : WebSocket text event execute in same thread as running binary event and destroy Threadlocal
  • #5378 : Filter/Servlet/Listener Holders are not started if added during STARTING state.
  • #5409 : HttpClient fails intermittently with "Invalid response state TRANSIENT"
  • #5417 : Badly configured HttpConfiguration.securePort can lead to wrong port produced by ForwardedHeader
  • #5443 : Request without Host header fails with NullPointerException in ForwardedRequestCustomizer
  • #5451 : Improve Working Directory creation
  • #5454 : Request error context is not reset
  • #5475 : Update to spifly 1.3.2 and asm 9
  • #5480 : NPE from WebInfConfiguration.deconfigure during WebAppContext shutdown

9.4.32.v20200930

Changelog

  • #2796 : HTTP/2 max local stream count exceeded when request fails
  • #3766 : Introduce HTTP/2 API to batch frames
  • #3916 : multipart/byterange output is invalid to RFC7233
  • #4809 : Set a max number of requests per connection
  • #4824 : WebSocket server outgoing message queue memory growth
  • #4888 : Request getSession() method throws IllegalStateException when Session exists
  • #4954 : Simplify ability to get Byte Counts about requests
  • #5032 : Introduce Listeners to aid in tracking timings within ServletContext and WebApp
Commits

Updates jetty-webapp from 9.4.28.v20200408 to 9.4.35.v20201120 This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Local Temp Directory Hijacking Vulnerability

Impact

On Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. If the attacker wins the race then they will have read and write permission to the subdirectory used to unpack web applications, including their WEB-INF/lib jar files and JSP files. If any code is ever executed out of this temporary directory, this can lead to a local privilege escalation vulnerability.

Additionally, any user code uses of WebAppContext::getTempDirectory would similarly be vulnerable.

Additionally, any user application code using the ServletContext attribute for the tempdir will also be impacted. See: https://javaee.github.io/javaee-spec/javadocs/javax/servlet/ServletContext.html#TEMPDIR

For example:

import java.io.File;
import java.io.IOException;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class ExampleServlet extends HttpServlet {
@Override
</tr></table> ... (truncated)
Affected versions: < 9.4.33

Release notes

Sourced from jetty-webapp's releases.

9.4.35.v20201120

Important Change

  • #5605 : java.io.IOException: unconsumed input during http request parsing

Bugs

  • #4711 : Reset trailers on recycled response
  • #5486 : PropertyFileLoginModule retains PropertyUserStores
  • #5562 : ArrayTernaryTrie consumes too much memory

Enhancements

  • #5539 : StatisticsServlet output now available in json, xml, text, and html
  • #5575 : Add SEARCH as a known HttpMethod
  • #5633 : Allow to configure HttpClient request authority (even on HTTP/2)

9.4.34.v20201102

Bugs

  • #5320 : Using WebSocketClient with jetty-websocket-httpclient.xml in a Jetty web application causes ClassCastException
  • #5521 : ResourceCollection NPE in list()
  • #5555 : NPE for servlet with no mapping

Enhancements

  • #5488 : jetty-dir.css not found when using JPMS
  • #5498 : ServletHolder lifecycle correctness
  • #5535 : Support regex in SslContextFactory include/exclude of protocols

9.4.33.v20201020

Changes

  • #5022 : Cleanup ServletHandler, specifically with respect to making filter chains more extensible
  • #5368 : WebSocket text event execute in same thread as running binary event and destroy Threadlocal
  • #5378 : Filter/Servlet/Listener Holders are not started if added during STARTING state.
  • #5409 : HttpClient fails intermittently with "Invalid response state TRANSIENT"
  • #5417 : Badly configured HttpConfiguration.securePort can lead to wrong port produced by ForwardedHeader
  • #5443 : Request without Host header fails with NullPointerException in ForwardedRequestCustomizer
  • #5451 : Improve Working Directory creation
  • #5454 : Request error context is not reset
  • #5475 : Update to spifly 1.3.2 and asm 9
  • #5480 : NPE from WebInfConfiguration.deconfigure during WebAppContext shutdown

9.4.32.v20200930

Changelog

  • #2796 : HTTP/2 max local stream count exceeded when request fails
  • #3766 : Introduce HTTP/2 API to batch frames
  • #3916 : multipart/byterange output is invalid to RFC7233
  • #4809 : Set a max number of requests per connection
  • #4824 : WebSocket server outgoing message queue memory growth
  • #4888 : Request getSession() method throws IllegalStateException when Session exists
  • #4954 : Simplify ability to get Byte Counts about requests
  • #5032 : Introduce Listeners to aid in tracking timings within ServletContext and WebApp
Commits

Updates jetty-servlet from 9.4.28.v20200408 to 9.4.35.v20201120

Release notes

Sourced from jetty-servlet's releases.

9.4.35.v20201120

Important Change

  • #5605 : java.io.IOException: unconsumed input during http request parsing

Bugs

  • #4711 : Reset trailers on recycled response
  • #5486 : PropertyFileLoginModule retains PropertyUserStores
  • #5562 : ArrayTernaryTrie consumes too much memory

Enhancements

  • #5539 : StatisticsServlet output now available in json, xml, text, and html
  • #5575 : Add SEARCH as a known HttpMethod
  • #5633 : Allow to configure HttpClient request authority (even on HTTP/2)

9.4.34.v20201102

Bugs

  • #5320 : Using WebSocketClient with jetty-websocket-httpclient.xml in a Jetty web application causes ClassCastException
  • #5521 : ResourceCollection NPE in list()
  • #5555 : NPE for servlet with no mapping

Enhancements

  • #5488 : jetty-dir.css not found when using JPMS
  • #5498 : ServletHolder lifecycle correctness
  • #5535 : Support regex in SslContextFactory include/exclude of protocols

9.4.33.v20201020

Changes

  • #5022 : Cleanup ServletHandler, specifically with respect to making filter chains more extensible
  • #5368 : WebSocket text event execute in same thread as running binary event and destroy Threadlocal
  • #5378 : Filter/Servlet/Listener Holders are not started if added during STARTING state.
  • #5409 : HttpClient fails intermittently with "Invalid response state TRANSIENT"
  • #5417 : Badly configured HttpConfiguration.securePort can lead to wrong port produced by ForwardedHeader
  • #5443 : Request without Host header fails with NullPointerException in ForwardedRequestCustomizer
  • #5451 : Improve Working Directory creation
  • #5454 : Request error context is not reset
  • #5475 : Update to spifly 1.3.2 and asm 9
  • #5480 : NPE from WebInfConfiguration.deconfigure during WebAppContext shutdown

9.4.32.v20200930

Changelog

  • #2796 : HTTP/2 max local stream count exceeded when request fails
  • #3766 : Introduce HTTP/2 API to batch frames
  • #3916 : multipart/byterange output is invalid to RFC7233
  • #4809 : Set a max number of requests per connection
  • #4824 : WebSocket server outgoing message queue memory growth
  • #4888 : Request getSession() method throws IllegalStateException when Session exists
  • #4954 : Simplify ability to get Byte Counts about requests
  • #5032 : Introduce Listeners to aid in tracking timings within ServletContext and WebApp
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps `jetty-version` from 9.4.28.v20200408 to 9.4.35.v20201120.

Updates `jetty-server` from 9.4.28.v20200408 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](jetty/jetty.project@jetty-9.4.28.v20200408...jetty-9.4.35.v20201120)

Updates `jetty-webapp` from 9.4.28.v20200408 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](jetty/jetty.project@jetty-9.4.28.v20200408...jetty-9.4.35.v20201120)

Updates `jetty-servlet` from 9.4.28.v20200408 to 9.4.35.v20201120
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](jetty/jetty.project@jetty-9.4.28.v20200408...jetty-9.4.35.v20201120)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Nov 24, 2020
@codecov-io
Copy link

Codecov Report

Merging #811 (b105b03) into master (1d44be3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #811   +/-   ##
=========================================
  Coverage     87.30%   87.30%           
  Complexity      862      862           
=========================================
  Files            79       79           
  Lines          3079     3079           
  Branches        437      437           
=========================================
  Hits           2688     2688           
  Misses          263      263           
  Partials        128      128           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d44be3...b105b03. Read the comment docs.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.458% when pulling b105b03 on dependabot/maven/jetty-version-9.4.35.v20201120 into 1d44be3 on master.

@dependabot-preview
Copy link
Contributor Author

Superseded by #814.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/jetty-version-9.4.35.v20201120 branch December 8, 2020 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants