Bug 1934032 (CVE-2021-25122) - CVE-2021-25122 tomcat: Request mix-up with h2c
Summary: CVE-2021-25122 tomcat: Request mix-up with h2c
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-25122
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1942602
Blocks: 1934001
TreeView+ depends on / blocked
 
Reported: 2021-03-02 10:25 UTC by Ted Jongseok Won
Modified: 2022-07-07 14:20 UTC (History)
78 users (show)

Fixed In Version: tomcat 10.0.2, tomcat 9.0.43, tomcat 8.5.63
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Apache Tomcat. When responding to new h2c connection requests, Apache Tomcat could duplicate request headers and a limited amount of request body from one request to another meaning user A and user B could both see the results of user A's request. The highest threat from this vulnerability is to data confidentiality.
Clone Of:
Environment:
Last Closed: 2021-06-29 10:40:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2561 0 None None None 2021-06-29 08:52:14 UTC
Red Hat Product Errata RHSA-2021:2562 0 None None None 2021-06-29 08:40:16 UTC
Red Hat Product Errata RHSA-2021:3425 0 None None None 2021-09-09 06:19:15 UTC
Red Hat Product Errata RHSA-2022:5532 0 None None None 2022-07-07 14:20:23 UTC

Description Ted Jongseok Won 2021-03-02 10:25:51 UTC
When responding to new h2c connection requests, Apache Tomcat could duplicate request headers and a limited amount of request body from one request to another meaning user A and user B could both see the results of user A's request.

Upstream commits:
Tomcat 10.0: https://github.com/apache/tomcat/commit/dd757c0a893e2e35f8bc1385d6967221ae8b9b9b
Tomcat 9.0: https://github.com/apache/tomcat/commit/d47c20a776e8919eaca8da9390a32bc8bf8210b1
Tomcat 8.5: https://github.com/apache/tomcat/commit/bb0e7c1e0d737a0de7d794572517bce0e91d30fa

Reference:
http://mail-archives.apache.org/mod_mbox/tomcat-announce/202103.mbox/%3Cb7626398-5e6d-1639-4e9e-e41b34af84de%40apache.org%3E

Comment 4 Ted Jongseok Won 2021-03-02 10:31:42 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat Enterprise Application Platform 6
 * Red Hat Data Grid 6
 * Red Hat JBoss Data Virtualization 6
 * Red Hat JBoss Fuse 6

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

Comment 8 Jonathan Christison 2021-03-04 11:52:25 UTC
Red Hat Jboss Fuse 6 ships some of the vulnerable artifacts as bundled artifacts in ops4j pax web, however there is no use of these artifacts in Fuse itself, the artifacts are also prevented from loading with a deny list in karaf, for these reasons we believe the impact upon Fuse 6.3 is low.

The same also applies to Red Hat Fuse 7.

This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss Fuse 6

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

Comment 13 Mauro Matteo Cascella 2021-03-24 16:15:35 UTC
Statement:

Red Hat Enterprise Linux 8's Identity Management and Certificate System are using a vulnerable version of Tomcat that is bundled into the `pki-servlet-engine` component. However, HTTP/2 is not enabled in such a configuration, and it is not possible to trigger the flaw in a supported setup. A future update may fix the code. Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7 are not affected by this flaw because HTTP/2 is not supported in the shipped version of tomcat in those packages.

Red Hat OpenStack Platform's OpenDaylight will not be updated for this flaw because it was deprecated as of OpenStack Platform 14 and is only receiving security fixes for Important and Critical flaws.

Comment 16 errata-xmlrpc 2021-06-29 08:39:58 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server

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

Comment 17 errata-xmlrpc 2021-06-29 08:52:00 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 5.5 on RHEL 7
  Red Hat JBoss Web Server 5.5 on RHEL 8

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

Comment 18 Product Security DevOps Team 2021-06-29 10:40:25 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-25122

Comment 19 errata-xmlrpc 2021-09-09 06:19:10 UTC
This issue has been addressed in the following products:

  Red Hat support for Spring Boot 2.3.10

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

Comment 22 errata-xmlrpc 2022-07-07 14:20:17 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.11

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


Note You need to log in before you can comment on or make changes to this bug.