Bug 2095002 (CVE-2022-28614)

Summary: CVE-2022-28614 httpd: Out-of-bounds read via ap_rwrite()
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: low Docs Contact:
Priority: low    
Version: unspecifiedCC: anon.amish, asoldano, bbaranow, bmaxwell, brian.stansberry, caswilli, cdewolf, chazlett, csutherl, darran.lofthouse, dkreling, dosoudil, fjansen, fjuma, hhorak, iweiss, jburrell, jclere, jkaluza, jkoehler, jochrist, jorton, jwong, jwon, kaycoth, kyoshida, lgao, luhliari, micjohns, mmadzin, mosmerov, msochure, msvehla, mturk, nwallace, peholase, pjindal, plodge, pmackay, rstancel, rsvoboda, saroy, sid, smaestri, sthirugn, szappis, tom.jenkinson
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpd 2.4.54 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read vulnerability was found in httpd. A very large input to the ap_rputs and ap_rwrite functions can lead to an integer overflow and result in an out-of-bounds read.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-10 15:33:34 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: 2095003, 2097015, 2097016, 2097017    
Bug Blocks: 2095023    

Description Guilherme de Almeida Suckevicz 2022-06-08 19:34:17 UTC
The ap_rwrite() function in Apache HTTP Server 2.4.53 and earlier may read unintended memory if an attacker can cause the server to reflect very large input using ap_rwrite() or ap_rputs(), such as with mod_luas r:puts() function.

References:
https://httpd.apache.org/security/vulnerabilities_24.html
https://www.openwall.com/lists/oss-security/2022/06/08/4

Comment 1 Guilherme de Almeida Suckevicz 2022-06-08 19:34:37 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 2095003]

Comment 3 Guilherme de Almeida Suckevicz 2022-06-14 17:33:12 UTC
Upstream patch:
https://svn.apache.org/viewvc?view=revision&revision=1901500

Comment 7 errata-xmlrpc 2022-09-29 13:33:16 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

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

Comment 9 errata-xmlrpc 2022-11-08 09:59:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 10 errata-xmlrpc 2022-11-15 10:08:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 11 errata-xmlrpc 2022-12-08 13:07:00 UTC
This issue has been addressed in the following products:

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

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

Comment 12 errata-xmlrpc 2022-12-08 13:21:42 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

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

Comment 13 Product Security DevOps Team 2022-12-10 15:33:30 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-2022-28614