CWE
190 787
Advisory Published
CVE Published
Updated

CVE-2022-22721: core: Possible buffer overflow with very large or unlimited LimitXMLRequestBody

First published: Mon Mar 14 2022(Updated: )

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.

Credit: CVE-2021-44224 CVE-2021-44790 CVE-2022-22719 CVE-2022-22720 CVE-2022-22721 CVE-2021-44224 CVE-2021-44790 CVE-2022-22719 CVE-2022-22720 CVE-2022-22721 CVE-2021-44224 CVE-2021-44790 CVE-2022-22719 CVE-2022-22720 CVE-2022-22721 security@apache.org

Affected SoftwareAffected VersionHow to fix
Apple Catalina
Apple macOS Big Sur<11.6.6
11.6.6
<12.4
12.4
Apache HTTP server<=2.4.52
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Debian Debian Linux=9.0
Oracle Enterprise Manager Ops Center=12.4.0.0
Oracle HTTP Server=12.2.1.3.0
Oracle HTTP Server=12.2.1.4.0
Oracle ZFS Storage Appliance Kit=8.8
Apple Mac OS X>=10.15<10.15.7
Apple Mac OS X=10.15.7-security_update_2020-001
Apple Mac OS X=10.15.7-security_update_2021-001
Apple Mac OS X=10.15.7-security_update_2021-002
Apple Mac OS X=10.15.7-security_update_2021-003
Apple Mac OS X=10.15.7-security_update_2021-004
Apple Mac OS X=10.15.7-security_update_2021-005
Apple Mac OS X=10.15.7-security_update_2021-006
Apple Mac OS X=10.15.7-security_update_2021-007
Apple Mac OS X=10.15.7-security_update_2021-008
Apple Mac OS X=10.15.7-security_update_2022-001
Apple Mac OS X=10.15.7-security_update_2022-002
Apple Mac OS X=10.15.7-security_update_2022-003
Apple macOS>=11.0<11.6.6
Apple macOS>=12.0<12.4
redhat/httpd<2.4.53
2.4.53
redhat/jbcs-httpd24-httpd<0:2.4.51-37.el8
0:2.4.51-37.el8
redhat/jbcs-httpd24-httpd<0:2.4.51-37.el7
0:2.4.51-37.el7
redhat/httpd<0:2.4.53-7.el9
0:2.4.53-7.el9
redhat/httpd24-httpd<0:2.4.34-23.el7.5
0:2.4.34-23.el7.5

Remedy

Set the LimitXMLRequestBody option to a value smaller than 350MB. Setting it to 0 is not recommended as it will use a hard limit (depending on 32bit or 64bit systems) which may result in an overall system out-of-memory. The default configuration is not vulnerable to this flaw, see the statement above.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2022-22721?

    CVE-2022-22721 is a vulnerability in Apache HTTP Server where an integer overflow occurs when LimitXMLRequestBody is set to allow request bodies larger than 350MB (defaults to 1M) on 32-bit systems, which can lead to out-of-bounds writes.

  • How does CVE-2022-22721 affect Apache HTTP Server?

    CVE-2022-22721 affects Apache HTTP Server version 2.4.52 and earlier.

  • What is the severity of CVE-2022-22721?

    CVE-2022-22721 has a severity rating of high (7).

  • How can I fix CVE-2022-22721?

    To fix CVE-2022-22721, update Apache HTTP Server to version 2.4.53 or later.

  • Where can I find more information about CVE-2022-22721?

    You can find more information about CVE-2022-22721 at the following references: [Link 1](https://support.apple.com/en-us/HT213257), [Link 2](https://support.apple.com/en-us/HT213255), [Link 3](https://support.apple.com/en-us/HT213256).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203