CVE-2023-31122: Apache HTTP Server: mod_macro buffer over-read

Published Oct 19, 2023
·
Updated

Out-of-bounds Read vulnerability in modmacro of Apache HTTP Server. This issue affects Apache HTTP Server: through 2.4.57.

References: https://httpd.apache.org/security/vulnerabilities24.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

Other sources

Out-of-bounds Read vulnerability in modmacro of Apache HTTP Server.This issue affects Apache HTTP Server: through 2.4.57.

Ubuntu

Affected Software

14 affected componentsFixes available
ubuntu/apache2<2.4.29-1ubuntu4.27+
2.4.29-1ubuntu4.27+
ubuntu/apache2<2.4.41-4ubuntu3.15
2.4.41-4ubuntu3.15
ubuntu/apache2<2.4.52-1ubuntu4.7
2.4.52-1ubuntu4.7
ubuntu/apache2<2.4.55-1ubuntu2.1
2.4.55-1ubuntu2.1
ubuntu/apache2<2.4.57-2ubuntu2.1
2.4.57-2ubuntu2.1
ubuntu/apache2<2.4.7-1ubuntu4.22+
2.4.7-1ubuntu4.22+
ubuntu/apache2<2.4.58-1
2.4.58-1
ubuntu/apache2<2.4.18-2ubuntu3.17+
2.4.18-2ubuntu3.17+
debian/apache2<=2.4.38-3+deb10u8, <=2.4.38-3+deb10u10, <=2.4.56-1~deb11u2, <=2.4.57-2
2.4.59-1~deb11u12.4.59-1~deb12u12.4.58-12.4.59-1
Apache HTTP Server<=2.4.57
Fedoraproject Fedora=38
redhat/httpd<2.4.58
2.4.58
Debian Debian Linux=10.0
Apache HTTP Server<2.4.58

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.29-1ubuntu4.27+
  2. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.41-4ubuntu3.15
  3. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.52-1ubuntu4.7
  4. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.55-1ubuntu2.1
  5. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.57-2ubuntu2.1
  6. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.7-1ubuntu4.22+
  7. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.58-1
  8. Upgrade

    Upgrade ubuntu/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.18-2ubuntu3.17+
  9. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.59-1~deb11u1Fixed in 2.4.59-1~deb12u1Fixed in 2.4.58-1Fixed in 2.4.59-1
  10. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 2.4.58

Event History

Oct 20, 2023
Data Sourced
via Red Hat·08:14 PM
DescriptionSeverityAffected Software
Oct 23, 2023
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·06:51 AM
Data Sourced
via MITRE·06:51 AM
DescriptionWeakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:18 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-31122?

CVE-2023-31122 is an out-of-bounds read vulnerability in mod_macro of Apache HTTP Server.

2

Which versions of Apache HTTP Server are affected by CVE-2023-31122?

CVE-2023-31122 affects Apache HTTP Server versions up to and including 2.4.57.

3

What is the severity of CVE-2023-31122?

The severity of CVE-2023-31122 is high with a CVSS score of 7.5.

4

How can I fix CVE-2023-31122?

To fix CVE-2023-31122, upgrade Apache HTTP Server to a version beyond 2.4.57.

5

Are there any references for CVE-2023-31122?

Yes, you can find references for CVE-2023-31122 at the following links: 1. [https://httpd.apache.org/security/vulnerabilities_24.html](https://httpd.apache.org/security/vulnerabilities_24.html) 2. [https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TI3V2YCEUM65QDYPGGNUZ7UONIM5OEXC/](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TI3V2YCEUM65QDYPGGNUZ7UONIM5OEXC/) 3. [https://security.netapp.com/advisory/ntap-20231027-0011/](https://security.netapp.com/advisory/ntap-20231027-0011/)

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203