Bug 2243877 (CVE-2023-45802)

Summary: CVE-2023-45802 mod_http2: reset requests exhaust memory (incomplete fix of CVE-2023-44487)
Product: [Other] Security Response Reporter: Chess Hazlett <chazlett>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: asoldano, bbaranow, bmaxwell, brian.stansberry, cdewolf, chazlett, csutherl, cy.schubert, darran.lofthouse, dkreling, dosoudil, fjuma, hhorak, ivassile, iweiss, jclere, jorton, kyoshida, lgao, luhliari, mosmerov, msochure, mstefank, msvehla, nwallace, peholase, pjindal, plodge, pmackay, rstancel, security-response-team, smaestri, szappis, tom.jenkinson
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in mod_http2. When a HTTP/2 stream is reset (RST frame) by a client, there is a time window were the request's memory resources were not reclaimed immediately. Instead, de-allocation was deferred to connection close. A client could send new requests and resets, keeping the connection busy and open, causing the memory footprint to keep on growing. On connection close, all resources are reclaimed but the process might run out of memory before connection close.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2244581, 2245070, 2245071    
Bug Blocks: 2243873    

Description Chess Hazlett 2023-10-13 17:09:27 UTC
The initial Rapid-Reset fix for mod_http2 was not sufficient to mitigate reset attacks completely; there is still a potential resource leak. If reset requests are sent on a connection below the rate limit imposed by nghttp2, memory is still consumed per RST and persists until the connection is broken. This "slow drip" of <1000 RST per second is sufficient to disable a single connection.

Comment 4 Sandipan Roy 2023-10-19 14:44:50 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 2245071]


Created mod_http2 tracking bugs for this issue:

Affects: fedora-all [bug 2245070]

Comment 5 Sandipan Roy 2023-10-19 14:59:00 UTC
During "normal" HTTP/2 use, the probability to hit this bug is very low. The kept memory would not become noticeable before the connection closes or times out.

Comment 6 errata-xmlrpc 2023-12-07 13:49:34 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7
  JBoss Core Services for RHEL 8

Via RHSA-2023:7625 https://access.redhat.com/errata/RHSA-2023:7625

Comment 7 errata-xmlrpc 2023-12-07 13:55:20 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2023:7626 https://access.redhat.com/errata/RHSA-2023:7626

Comment 9 errata-xmlrpc 2024-04-30 10:05:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2368 https://access.redhat.com/errata/RHSA-2024:2368

Comment 10 errata-xmlrpc 2024-05-16 18:16:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:2891 https://access.redhat.com/errata/RHSA-2024:2891

Comment 11 errata-xmlrpc 2024-05-22 09:46:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3121 https://access.redhat.com/errata/RHSA-2024:3121