https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Bug ID: 2014356 Summary: CVE-2021-42340 tomcat: OutOfMemoryError caused by HTTP upgrade connection leak could lead to DoS Product: Security Response Hardware: All OS: Linux Status: NEW Component: vulnerability Keywords: Security Severity: high Priority: high Assignee: security-response-team@redhat.com Reporter: jwon@redhat.com CC: aileenc@redhat.com, akoufoud@redhat.com, alazarot@redhat.com, alee@redhat.com, almorale@redhat.com, anstephe@redhat.com, asoldano@redhat.com, atangrin@redhat.com, avibelli@redhat.com, bbaranow@redhat.com, bgeorges@redhat.com, bmaxwell@redhat.com, brian.stansberry@redhat.com, cdewolf@redhat.com, chazlett@redhat.com, cmoulliard@redhat.com, coolsvap@gmail.com, csutherl@redhat.com, darran.lofthouse@redhat.com, dbecker@redhat.com, dkreling@redhat.com, dosoudil@redhat.com, drieden@redhat.com, eleandro@redhat.com, etirelli@redhat.com, fjuma@redhat.com, ggaughan@redhat.com, gmalinko@redhat.com, gzaronikas@gmail.com, gzaronik@redhat.com, huwang@redhat.com, ibek@redhat.com, ikanello@redhat.com, ivan.afonichev@gmail.com, iweiss@redhat.com, janstey@redhat.com, java-sig-commits@lists.fedoraproject.org, jclere@redhat.com, jjoyce@redhat.com, jochrist@redhat.com, jolee@redhat.com, jpallich@redhat.com, jperkins@redhat.com, jrokos@redhat.com, jschatte@redhat.com, jschluet@redhat.com, jstastny@redhat.com, jwon@redhat.com, krathod@redhat.com, krzysztof.daniel@gmail.com, kverlaen@redhat.com, kwills@redhat.com, lgao@redhat.com, lhh@redhat.com, lpeer@redhat.com, lthon@redhat.com, mburns@redhat.com, mkolesni@redhat.com, mnovotny@redhat.com, msochure@redhat.com, msvehla@redhat.com, mszynkie@redhat.com, nwallace@redhat.com, pdelbell@redhat.com, peholase@redhat.com, pgallagh@redhat.com, pjindal@redhat.com, pmackay@redhat.com, rguimara@redhat.com, rhcs-maint@redhat.com, rrajasek@redhat.com, rruss@redhat.com, rstancel@redhat.com, rsvoboda@redhat.com, sclewis@redhat.com, scohen@redhat.com, slinaber@redhat.com, smaestri@redhat.com, szappis@redhat.com, tom.jenkinson@redhat.com, tzimanyi@redhat.com, yborgess@redhat.com Blocks: 2014348 Target Milestone: --- Classification: Other
Apache Tomcat did not properly release an HTTP upgrade connection for WebSocket connections once the WebSocket connection was closed. This created a memory leak that, over time, could lead to a denial of service via an OutOfMemoryError. This issue affects the version of Apache Tomcat 10.1.0-M1 to 10.1.0-M5; Apache Tomcat 10.0.0-M10 to 10.0.11; Apache Tomcat 9.0.40 to 9.0.53; Apache Tomcat 8.5.60 to 8.5.71.
Upstream commits: Tomcat 10.1: https://github.com/apache/tomcat/commit/d5a6660cba7f51589468937bf3bbad4db781... Tomcat 10.0: https://github.com/apache/tomcat/commit/31d62426645824bdfe076a0c0eafa904d90b... Tomcat 9.0: https://github.com/apache/tomcat/commit/80f1438ec45e77a07b96419808971838d259... Tomcat 8.5: https://github.com/apache/tomcat/commit/d27535bdee95d252418201eb21e9d29476aa...
Reference: https://lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d5...
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #2 from Doran Moppert dmoppert@redhat.com --- Introduced by: https://bz.apache.org/bugzilla/show_bug.cgi?id=63362
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Doran Moppert dmoppert@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(csutherl@redhat.c | |om)
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #4 from Jonathan Christison jochrist@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Jonathan Christison jochrist@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(pjindal@redhat.co | |m)
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Doran Moppert dmoppert@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |2014928, 2014927, 2014926
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2014926 [Bug 2014926] CVE-2021-42340 tomcat: OutOfMemoryError caused by HTTP upgrade connection leak could lead to DoS [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2014927 [Bug 2014927] CVE-2021-42340 tomcat:master/tomcat: OutOfMemoryError caused by HTTP upgrade connection leak could lead to DoS [fedora-all]
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #9 from Doran Moppert dmoppert@redhat.com --- Created tomcat tracking bugs for this issue:
Affects: fedora-all [bug 2014926]
Created tomcat:master/tomcat tracking bugs for this issue:
Affects: fedora-all [bug 2014927]
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Doc Text *updated* by RaTasha Tillery-Smith rtillery@redhat.com --- A memory leak flaw was found in Apache Tomcat, where an HTTP upgrade connection was not released for WebSocket connections once the WebSocket connection was closed. If a sufficient number of such requests are made, an OutOfMemoryError occurs, leading to a denial of service. The highest threat from this vulnerability is to system availability.
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Coty Sutherland csutherl@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(csutherl@redhat.c | |om) | Doc Type|--- |If docs needed, set a value
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Paramvir jindal pjindal@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(pjindal@redhat.co | |m) |
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Doc Text *updated* by RaTasha Tillery-Smith rtillery@redhat.com --- A memory leak flaw was found in Apache Tomcat, where an HTTP upgrade connection does not release for WebSocket connections once the WebSocket connection is closed. If a sufficient number of such requests are made, an OutOfMemoryError occurs, leading to a denial of service. The highest threat from this vulnerability is to system availability.
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #15 from errata-xmlrpc errata-xmlrpc@redhat.com --- This issue has been addressed in the following products:
Red Hat JBoss Web Server
Via RHSA-2021:4863 https://access.redhat.com/errata/RHSA-2021:4863
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2021:4863
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #16 from errata-xmlrpc errata-xmlrpc@redhat.com --- This issue has been addressed in the following products:
Red Hat JBoss Web Server 5.6 on RHEL 7 Red Hat JBoss Web Server 5.6 on RHEL 8
Via RHSA-2021:4861 https://access.redhat.com/errata/RHSA-2021:4861
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2021:4861
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
yaoli@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yaoli@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #22 from Product Security DevOps Team prodsec-dev@redhat.com --- 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-42340
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Product Security DevOps Team prodsec-dev@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |ERRATA Last Closed| |2022-01-07 19:12:04
https://bugzilla.redhat.com/show_bug.cgi?id=2014356 Bug 2014356 depends on bug 2014927, which changed state.
Bug 2014927 Summary: CVE-2021-42340 tomcat:master/tomcat: OutOfMemoryError caused by HTTP upgrade connection leak could lead to DoS [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2014927
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE
https://bugzilla.redhat.com/show_bug.cgi?id=2014356 Bug 2014356 depends on bug 2014926, which changed state.
Bug 2014926 Summary: CVE-2021-42340 tomcat: OutOfMemoryError caused by HTTP upgrade connection leak could lead to DoS [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2014926
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE
https://bugzilla.redhat.com/show_bug.cgi?id=2014356 Bug 2014356 depends on bug 2014927, which changed state.
Bug 2014927 Summary: CVE-2021-42340 tomcat:master/tomcat: OutOfMemoryError caused by HTTP upgrade connection leak could lead to DoS [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2014927
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |NEW Resolution|CURRENTRELEASE |---
https://bugzilla.redhat.com/show_bug.cgi?id=2014356 Bug 2014356 depends on bug 2014927, which changed state.
Bug 2014927 Summary: CVE-2021-42340 tomcat:master/tomcat: OutOfMemoryError caused by HTTP upgrade connection leak could lead to DoS [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2014927
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WONTFIX
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #23 from errata-xmlrpc errata-xmlrpc@redhat.com --- This issue has been addressed in the following products:
Red Hat Support for Spring Boot 2.5.10
Via RHSA-2022:1179 https://access.redhat.com/errata/RHSA-2022:1179
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2022:1179
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #24 from errata-xmlrpc errata-xmlrpc@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2022:5532
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Kazu Yoshida kyoshida@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(cbuissar@redhat.c | |om) CC| |cbuissar@redhat.com, | |kyoshida@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Cedric Buissart cbuissar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(cbuissar@redhat.c | |om) |
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Kazu Yoshida kyoshida@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |security-response-team@redh | |at.com Flags| |needinfo?(security-response | |-team@redhat.com)
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Product Security DevOps Team prodsec-dev@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(security-response |needinfo?(jwon@redhat.com) |-team@redhat.com) |
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Ted Jongseok Won jwon@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jwon@redhat.com) |needinfo?(chazlett@redhat.c | |om)
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
Chess Hazlett chazlett@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(chazlett@redhat.c | |om) |
https://bugzilla.redhat.com/show_bug.cgi?id=2014356
--- Comment #31 from Sandipan Roy saroy@redhat.com --- RHEL 9 Errata: https://access.redhat.com/errata/RHBA-2022:8077
java-sig-commits@lists.fedoraproject.org