Bug 1971016 (CVE-2021-28169)

Summary: CVE-2021-28169 jetty: requests to the ConcatServlet and WelcomeFilter are able to access protected resources within the WEB-INF directory
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abenaiss, aileenc, akurtako, aos-bugs, ataylor, bibryam, bmontgom, chazlett, drieden, eclipse-sig, eparis, eric.wittmann, ggaughan, gmalinko, hbraun, janstey, java-sig-commits, jburrell, jjohnstn, jjoyce, jkang, jnethert, jochrist, jokerman, jross, jschluet, jwon, krzysztof.daniel, lhh, lpeer, mburns, mcoufal, mizdebsk, mkolesni, nstielau, pantinor, pbhattac, sclewis, scohen, sd-operator-metering, slinaber, sochotni, sponnaga, swoodman, tflannag
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jetty 9.4.41, jetty 10.0.3, jetty 11.0.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-19 09:35:05 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: 1976851, 1971017, 1972083, 1972084, 1972088, 1972361    
Bug Blocks: 1971019    

Description Guilherme de Almeida Suckevicz 2021-06-11 16:43:51 UTC
For Eclipse Jetty versions <= 9.4.40, <= 10.0.2, <= 11.0.2, it is possible for requests to the ConcatServlet with a doubly encoded path to access protected resources within the WEB-INF directory. For example a request to `/concat?/%2557EB-INF/web.xml` can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.

Reference:
https://github.com/eclipse/jetty.project/security/advisories/GHSA-gwcr-j4wh-j3cq

Comment 1 Guilherme de Almeida Suckevicz 2021-06-11 16:44:18 UTC
Created jetty tracking bugs for this issue:

Affects: fedora-all [bug 1971017]

Comment 2 Jonathan Christison 2021-06-14 12:21:49 UTC
This vulnerability is out of security support scope for the following products:

 * Red Hat JBoss Fuse 6
 * Red Hat JBoss A-MQ 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 3 Jonathan Christison 2021-06-14 13:07:47 UTC
Marking Red Hat Integration Camel K and Red Hat Integration Service Registry as having a low impact, although Camel K distributes jetty artifacts through camel-jetty, camel-jetty itself is not available for use by the application developer, http functionality is provided by camel-k default runtime, Quarkus.

Red Hat Integration Service Registry distributes Jetty as part of Kafka Connect component which is not available in the productised release meaning jetty is also not available for use by the end application developer.

Comment 17 errata-xmlrpc 2021-08-19 07:18:05 UTC
This issue has been addressed in the following products:

  Red Hat AMQ Streams 1.8.0

Via RHSA-2021:3225 https://access.redhat.com/errata/RHSA-2021:3225

Comment 18 Product Security DevOps Team 2021-08-19 09:35:05 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-28169

Comment 19 errata-xmlrpc 2021-09-30 09:58:11 UTC
This issue has been addressed in the following products:

  Red Hat AMQ 7.9.0

Via RHSA-2021:3700 https://access.redhat.com/errata/RHSA-2021:3700

Comment 20 errata-xmlrpc 2021-10-18 16:51:45 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.9

Via RHSA-2021:3758 https://access.redhat.com/errata/RHSA-2021:3758

Comment 21 errata-xmlrpc 2021-11-23 10:35:39 UTC
This issue has been addressed in the following products:

  Red Hat Integration

Via RHSA-2021:4767 https://access.redhat.com/errata/RHSA-2021:4767

Comment 22 errata-xmlrpc 2021-12-14 21:35:26 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.10

Via RHSA-2021:5134 https://access.redhat.com/errata/RHSA-2021:5134

Comment 23 errata-xmlrpc 2022-10-27 18:13:15 UTC
This issue has been addressed in the following products:

  RHINT Camel-K 1.8.1

Via RHSA-2022:7257 https://access.redhat.com/errata/RHSA-2022:7257