Bug 2245332 (CVE-2023-31122)

Summary: CVE-2023-31122 httpd: mod_macro: out-of-bounds read vulnerability
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: asoldano, bbaranow, bdettelb, bmaxwell, brian.stansberry, caswilli, cdewolf, chazlett, csutherl, cy.schubert, darran.lofthouse, david.king4, dfreiber, dkreling, dosoudil, eglynn, fjuma, hhorak, ivassile, iweiss, jburrell, jclere, jjoyce, jkoehler, jorton, jschluet, kaycoth, kyoshida, lgao, lhh, luhliari, mburns, mgarciac, mosmerov, msochure, mstefank, msvehla, nwallace, peholase, pgrist, pjindal, plodge, pmackay, rogbas, rstancel, shbose, smaestri, szappis, tom.jenkinson, tosorio, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpd 2.4.58 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the mod_macro module of httpd. When processing a very long macro, the null byte terminator will not be added, leading to an out-of-bounds read, resulting in a crash.
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: 2245333, 2245675, 2252224, 2252225, 2252226    
Bug Blocks: 2245154    

Description Guilherme de Almeida Suckevicz 2023-10-20 20:14:00 UTC
Out-of-bounds Read vulnerability in mod_macro of Apache HTTP Server. This issue affects Apache HTTP Server: through 2.4.57.

References:
https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2023-31122
https://www.openwall.com/lists/oss-security/2023/10/19/4

Upstream patch:
https://svn.apache.org/viewvc?view=revision&revision=1912993

Comment 1 Guilherme de Almeida Suckevicz 2023-10-20 20:14:22 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 2245333]

Comment 9 errata-xmlrpc 2024-03-18 16:22:18 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

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

Comment 10 errata-xmlrpc 2024-03-18 16:33:58 UTC
This issue has been addressed in the following products:

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

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

Comment 11 errata-xmlrpc 2024-04-30 10:00:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 12 errata-xmlrpc 2024-05-22 09:46:50 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