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)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.09% (85th percentile)

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 IDSNYK-JAVA-ORGECLIPSEJETTY-32385
  • published28 Jun 2018
  • disclosed6 Jun 2018
  • creditRegis Leroy

Introduced: 6 Jun 2018

CVE-2017-7658  (opens in a new tab)
CWE-444  (opens in a new tab)

How 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.

References

CVSS Scores

version 3.1