Bug 1595620 (CVE-2017-7657)

Summary: CVE-2017-7657 jetty: HTTP request smuggling
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abergmann, aileenc, bkearney, chazlett, drieden, gvarsami, hhorak, java-maint, java-sig-commits, jcoleman, jjohnstn, jorton, kconner, krzysztof.daniel, ldimaggi, meissner, mizdebsk, mulliken, nwallace, rwagner, sochotni, tcunning, tkirby, tlestach
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jetty 9.3.24.v20180605, jetty 9.4.11.v20180605 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:30:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1595622, 1642090, 1642107    
Bug Blocks: 1595623, 1658211    

Description Andrej Nemec 2018-06-27 08:39:18 UTC
In Eclipse Jetty, versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x (non-default configuration with RFC2616 compliance enabled), transfer-encoding chunks are handled poorly. The chunk length parsing was vulnerable to an integer overflow. Thus a large chunk size could be interpreted as a smaller chunk size and content sent as chunk body could be interpreted as a pipelined request. If Jetty was deployed behind an intermediary that imposed some authorization and that intermediary allowed arbitrarily large chunks to be passed on unchanged, then this flaw could be used to bypass the authorization imposed by the intermediary as the fake pipelined request would not be interpreted by the intermediary as a request.

Upstream issue:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=535668

Comment 1 Andrej Nemec 2018-06-27 08:41:28 UTC
Created jetty tracking bugs for this issue:

Affects: fedora-all [bug 1595622]

Comment 5 errata-xmlrpc 2019-04-30 15:18:27 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.3

Via RHSA-2019:0910 https://access.redhat.com/errata/RHSA-2019:0910

Comment 7 Cedric Buissart 2020-04-16 14:32:25 UTC
Statement:

This issue affects the versions of jetty embedded in the nutch package as shipped with Red Hat Satellite 5. The nutch service is not exposed, as such exploitation is difficult, Red Hat Product Security has rated this issue as having security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.