Bug 2064320 (CVE-2022-22721) - CVE-2022-22721 httpd: core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody
Summary: CVE-2022-22721 httpd: core: Possible buffer overflow with very large or unlim...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-22721
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2064571 2065267 2065268 2065269 2066794
Blocks: 2064323
TreeView+ depends on / blocked
 
Reported: 2022-03-15 14:34 UTC by Patrick Del Bello
Modified: 2024-03-15 03:21 UTC (History)
46 users (show)

Fixed In Version: httpd 2.4.53
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in httpd, where it incorrectly limits the value of the LimitXMLRequestBody option. This issue can lead to an integer overflow and later causes an out-of-bounds write.
Clone Of:
Environment:
Last Closed: 2022-12-10 14:13:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:6753 0 None None None 2022-09-29 13:32:50 UTC
Red Hat Product Errata RHSA-2022:7647 0 None None None 2022-11-08 09:59:37 UTC
Red Hat Product Errata RHSA-2022:8067 0 None None None 2022-11-15 10:08:29 UTC
Red Hat Product Errata RHSA-2022:8840 0 None None None 2022-12-08 13:06:50 UTC
Red Hat Product Errata RHSA-2022:8841 0 None None None 2022-12-08 13:21:27 UTC

Description Patrick Del Bello 2022-03-15 14:34:30 UTC
If LimitXMLRequestBody is set to allow request bodies larger than 350MB (defaults to 1M) on 32 bit systems an integer overflow happens which later causes out of bounds writes. This issue affects Apache HTTP Server 2.4.52 and earlier.

References:
https://httpd.apache.org/security/vulnerabilities_24.html
https://www.openwall.com/lists/oss-security/2022/03/14/2

Comment 2 Sandipan Roy 2022-03-16 07:44:08 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 2064571]

Comment 4 Mauro Matteo Cascella 2022-03-17 14:07:41 UTC
Upstream patch:
https://svn.apache.org/viewvc?view=revision&revision=1898693

Comment 12 errata-xmlrpc 2022-09-29 13:32:47 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 14 errata-xmlrpc 2022-11-08 09:59:33 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 15 errata-xmlrpc 2022-11-15 10:08:26 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 16 errata-xmlrpc 2022-12-08 13:06:47 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 17 errata-xmlrpc 2022-12-08 13:21:24 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 18 Product Security DevOps Team 2022-12-10 14:13:20 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-22721


Note You need to log in before you can comment on or make changes to this bug.