Authorization Bypass Affecting org.eclipse.jetty:jetty-server package, versions (8.2.0.v20160908,9.2.25.v20180606) [9.3.0.M0, 9.3.24.v20180605) [9.4.0.M0, 9.4.11.v20180605)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGECLIPSEJETTY-32385
- published 28 Jun 2018
- disclosed 6 Jun 2018
- credit Regis Leroy
Introduced: 6 Jun 2018
CVE-2017-7658 Open this link in a new tabHow to fix?
Upgrade org.eclipse.jetty:jetty-server
to versions 9.2.25, 9.3.24, 9.4.11 or higher.
Overview
org.eclipse.jetty:jetty-server is a lightweight highly scalable java based web server and servlet engine.
Affected versions of this package are vulnerable to Authorization Bypass. When it presented with two content-lengths headers, Jetty ignored the second. When presented with a content-length and a chunked encoding header, the content-length was ignored (as per RFC 2616). If an intermediary decided on the shorter length, but still passed on the longer body, then body content could be interpreted by Jetty as a pipelined request. If the intermediary was imposing authorization, the fake pipelined request would bypass that authorization.