Bug 1944888 (CVE-2021-21409)

Summary: CVE-2021-21409 netty: Request smuggling via content-length header
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aboyko, aileenc, akoufoud, alazarot, almorale, andjrobins, anstephe, aos-bugs, asoldano, atangrin, ataylor, avibelli, bbaranow, bbuckingham, bcourt, bgeorges, bkearney, bmaxwell, bmontgom, brian.stansberry, btotty, cdewolf, chazlett, clement.escoffier, dandread, darran.lofthouse, dbecker, dbhole, dkreling, dosoudil, drieden, ebaron, eclipse-sig, eleandro, eparis, etirelli, ewolinet, extras-orphan, fjuma, ggaughan, gmalinko, gsmet, hamadhan, hhudgeon, ibek, iweiss, janstey, java-sig-commits, jburrell, jcantril, jerboaa, jjohnstn, jjoyce, jochrist, jokerman, jpallich, jperkins, jross, jschluet, jstastny, jwon, kaycoth, krathod, kverlaen, kwills, lef, lgao, lhh, loleary, lpeer, lthon, lzap, mburns, mkolesni, mmccune, mnovotny, msochure, msvehla, mszynkie, nmoumoul, nstielau, nwallace, pcreech, pdrozd, peholase, pgallagh, pjindal, pmackay, probinso, rchan, rgodfrey, rgrunber, rguimara, rjerrido, rrajasek, rruss, rstancel, rsvoboda, rsynek, sbiarozk, sclewis, scohen, sdaley, sd-operator-metering, sdouglas, slinaber, smaestri, sochotni, sokeeffe, spinder, sponnaga, sthorger, swoodman, tflannag, theute, tom.jenkinson, yborgess
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: netty-codec-http 4.1.61.Final Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Netty. There is an issue where the content-length header is not validated correctly if the request uses a single Http2HeaderFrame with the endstream set to true. This flaw leads to request smuggling if the request is proxied to a remote peer and translated to HTTP/1.1. The highest threat from this vulnerability is to integrity.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-06 08:33:58 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: 1927083, 1938252, 1944889, 1944890, 1945202    
Bug Blocks: 1944891    

Description Pedro Sampaio 2021-03-30 20:58:50 UTC
Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty (io.netty:netty-codec-http2) before version 4.1.61.Final there is a vulnerability that enables request smuggling. The content-length header is not correctly validated if the request only uses a single Http2HeaderFrame with the endStream set to to true. This could lead to request smuggling if the request is proxied to a remote peer and translated to HTTP/1.1. This is a followup of GHSA-wm47-8v5p-wjpj/CVE-2021-21295 which did miss to fix this one case. This was fixed as part of 4.1.61.Final.

References:

https://github.com/netty/netty/commit/b0fa4d5aab4215f3c22ce6123dd8dd5f38dc0432
https://github.com/netty/netty/security/advisories/GHSA-f256-j965-7f32
https://github.com/netty/netty/security/advisories/GHSA-wm47-8v5p-wjpj

Comment 1 Pedro Sampaio 2021-03-30 20:59:51 UTC
Created eclipse tracking bugs for this issue:

Affects: fedora-all [bug 1944890]


Created netty tracking bugs for this issue:

Affects: fedora-all [bug 1944889]

Comment 7 Przemyslaw Roguski 2021-04-02 10:30:49 UTC
Statement:

Red Hat Satellite ships a vulnerable Netty version embedded in Candlepin. However, it is not directly vulnerable since the HTTP requests are handled by Tomcat and not by Netty.
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.

In OpenShift Container Platform (OCP), the Hive/Presto/Hadoop components that comprise the OCP Metering stack, ship the vulnerable version of netty-codec-http package.
Since the release of OCP 4.6, the Metering product has been deprecated [1], hence the affected components are marked as wontfix.
This may be fixed in the future.

Comment 8 Przemyslaw Roguski 2021-04-02 10:31:02 UTC
External References:

https://github.com/netty/netty/security/advisories/GHSA-f256-j965-7f32

Comment 15 errata-xmlrpc 2021-05-06 07:47:49 UTC
This issue has been addressed in the following products:

  AMQ Clients 2.y for RHEL 7
  AMQ Clients 2.y for RHEL 8

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

Comment 16 Product Security DevOps Team 2021-05-06 08:33:58 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-21409

Comment 17 errata-xmlrpc 2021-05-26 21:50:29 UTC
This issue has been addressed in the following products:

  Red Hat Data Grid 8.2.0

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

Comment 19 errata-xmlrpc 2021-07-07 06:29:37 UTC
This issue has been addressed in the following products:

  Vert.x 4.1.0

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

Comment 20 errata-xmlrpc 2021-07-12 12:12:44 UTC
This issue has been addressed in the following products:

  Red Hat AMQ 7.8.2

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

Comment 21 errata-xmlrpc 2021-07-13 12:59:43 UTC
This issue has been addressed in the following products:

  EAP 7.3.8

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

Comment 22 errata-xmlrpc 2021-07-13 13:00:49 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 7

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

Comment 23 errata-xmlrpc 2021-07-13 13:07:11 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6

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

Comment 24 errata-xmlrpc 2021-07-13 13:11:32 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 8

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

Comment 25 errata-xmlrpc 2021-07-15 15:26:10 UTC
This issue has been addressed in the following products:

  Red Hat EAP-XP 2.0.0 via EAP 7.3.x base

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

Comment 26 errata-xmlrpc 2021-07-29 19:19:16 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.4.8

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

Comment 27 errata-xmlrpc 2021-08-19 07:18:30 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 28 errata-xmlrpc 2021-09-23 16:15:31 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7

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

Comment 29 errata-xmlrpc 2021-09-23 16:23:37 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8

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

Comment 30 errata-xmlrpc 2021-09-23 16:29:28 UTC
This issue has been addressed in the following products:

  EAP 7.4.1 release

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

Comment 31 errata-xmlrpc 2021-09-30 09:57:52 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 32 errata-xmlrpc 2021-10-20 11:30:01 UTC
This issue has been addressed in the following products:

  Red Hat build of Quarkus 2.2.3

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

Comment 35 errata-xmlrpc 2021-12-14 17:07:54 UTC
This issue has been addressed in the following products:

  OpenShift Logging 5.3

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

Comment 36 errata-xmlrpc 2021-12-14 18:10:51 UTC
This issue has been addressed in the following products:

  OpenShift Logging 5.1

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

Comment 37 errata-xmlrpc 2021-12-14 18:40:32 UTC
This issue has been addressed in the following products:

  OpenShift Logging 5.2

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

Comment 38 errata-xmlrpc 2021-12-14 21:34:47 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 41 errata-xmlrpc 2022-07-05 14:26:12 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.11 for RHEL 7
  Red Hat Satellite 6.11 for RHEL 8

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