Skip to content
Fencer Vulns
high 7.5

CVE-2023-31122 json

Apache HTTP Server: mod_macro buffer over-read

published 2023-10-23 3 y ago modified 2026-09-08 2 mo ago also BIT-apache-2023-31122 , EUVD-2023-35448

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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

Patch / fix

  • bitnami apache 2.4.58
  • apache http_server 2.4.58
  • apache2 Debian 12 2.4.59-1~deb12u1
  • apache2 Debian 14, Debian 13 2.4.58-1

debian advisories DEBIAN-CVE-2023-31122

  • apache2 Ubuntu 20.04 LTS 2.4.41-4ubuntu3.15
  • apache2 Ubuntu 22.04 LTS 2.4.52-1ubuntu4.7
  • apache2 Ubuntu Pro 14.04 LTS 2.4.7-1ubuntu4.22+esm9
  • apache2 Ubuntu Pro 16.04 LTS 2.4.18-2ubuntu3.17+esm11
  • apache2 Ubuntu Pro 18.04 LTS 2.4.29-1ubuntu4.27+esm1

ubuntu advisories UBUNTU-CVE-2023-31122

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • jbcs-httpd24-curl jboss core services 1 8.6.0-3.el7jbcs
  • jbcs-httpd24-curl jboss core services 1 8.6.0-3.el8jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.57-9.el7jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.57-9.el8jbcs
  • jbcs-httpd24-libcurl jboss core services 1 8.6.0-3.el7jbcs
  • jbcs-httpd24-libcurl jboss core services 1 8.6.0-3.el8jbcs
  • jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.57-9.el7jbcs
  • jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.57-9.el8jbcs

red hat advisories RHSA-2024:1316RHSA-2024:3121RHSA-2024:2278

  • apache2 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 2.4.66-150400.6.57.1
  • apache2 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.4.51-35.35.1
  • apache2-tls13 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.4.51-35.35.1
  • apache2 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +7 more 2.4.51-150200.3.59.1
  • apache2 SLE Module for Server Applications 15 SP5, SLE Module for Server Applications 15 SP4, SLE Module for Package Hub 15 SP5 +5 more 2.4.51-150400.6.14.1
  • apache2 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 2.4.33-150000.3.78.1

suse advisories SUSE-SU-2026:2686-1SUSE-SU-2023:4451-1SUSE-SU-2023:4432-1SUSE-SU-2023:4431-1SUSE-SU-2023:4430-1

  • apache2 openSUSE Tumbleweed 2.4.58-1.1

opensuse advisories openSUSE-SU-2024:13350-1

  • httpd AlmaLinux 8 2.4.37-64.module_el8.10.0+3761+75f8c656
  • mod_md AlmaLinux 8 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa
  • mod_md AlmaLinux 8 1:2.0.8-8.module_el8.6.0+3031+fb177b09
  • mod_ssl AlmaLinux 8 1:2.4.37-64.module_el8.10.0+3761+75f8c656
  • mod_ldap AlmaLinux 8 2.4.37-64.module_el8.10.0+3761+75f8c656
  • mod_http2 AlmaLinux 8 1.15.7-10.module_el8.10.0+3832+564e7653
  • httpd-tools AlmaLinux 8 2.4.37-64.module_el8.10.0+3761+75f8c656
  • mod_session AlmaLinux 8 2.4.37-64.module_el8.10.0+3761+75f8c656

almalinux advisories ALSA-2024:3121ALSA-2024:2278

  • httpd Rocky Linux 8 2.4.37-64.module+el8.10.0+1717+030a9fed
  • mod_md Rocky Linux 8 1:2.0.8-8.module+el8.9.0+1370+89cc8ad5
  • mod_http2 Rocky Linux 8 1.15.7-10.module+el8.10.0+1775+6b057638
  • httpd Rocky Linux 9 2.4.57-8.el9

rocky linux advisories RLSA-2024:3121RLSA-2024:2278

  • apache2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 2.4.58-r0

alpine advisories ALPINE-CVE-2023-31122

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-31122 updated cvss 7.5

httpd: mod_macro: out-of-bounds read vulnerability

  • Red Hat OpenShift Pipelines httpd
    affected: workaround, no fix available
  • Red Hat Enterprise Linux 6 httpd, mod_ssl, httpd-tools, httpd-manual Red Hat Enterprise Linux 7 httpd, mod_ssl, mod_ldap, httpd-tools, mod_session, httpd-manual, +1 more Red Hat JBoss Enterprise Application Platform 6 httpd22 httpd22
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Data Science (RHODS) httpd Red Hat OpenShift GitOps httpd Red Hat Software Collections httpd24-httpd, httpd24-mod_md, httpd24-mod_ssl, httpd24-mod_ldap, httpd24-httpd-tools, httpd24-mod_session, +2 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) mod_md 2.0.8-8.module+el8.9.0+19080+567b90f8, httpd 2.4.37-64.module+el8.10.0+21332+dfb1b40e, mod_ssl 2.4.37-64.module+el8.10.0+21332+dfb1b40e, mod_ldap 2.4.37-64.module+el8.10.0+21332+dfb1b40e, mod_http2 1.15.7-10.module+el8.10.0+21653+eaff63f0, httpd-tools 2.4.37-64.module+el8.10.0+21332+dfb1b40e, +4 more
    fixed: vendor fix RHSA-2024:3121
  • Red Hat Enterprise Linux AppStream (v. 9) httpd 2.4.57-8.el9, mod_lua 2.4.57-8.el9, mod_ssl 2.4.57-8.el9, mod_ldap 2.4.57-8.el9, httpd-core 2.4.57-8.el9, httpd-tools 2.4.57-8.el9, +4 more
    fixed: vendor fix RHSA-2024:2278
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2024:1317
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-httpd 2.4.57-9.el7jbcs, jbcs-httpd24-mod_ssl 2.4.57-9.el7jbcs, jbcs-httpd24-mod_ldap 2.4.57-9.el7jbcs, jbcs-httpd24-httpd-tools 2.4.57-9.el7jbcs, jbcs-httpd24-mod_session 2.4.57-9.el7jbcs, jbcs-httpd24-httpd-manual 2.4.57-9.el7jbcs, +2 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-httpd 2.4.57-9.el8jbcs, jbcs-httpd24-mod_ssl 2.4.57-9.el8jbcs, jbcs-httpd24-mod_ldap 2.4.57-9.el8jbcs, jbcs-httpd24-httpd-tools 2.4.57-9.el8jbcs, jbcs-httpd24-mod_session 2.4.57-9.el8jbcs, jbcs-httpd24-httpd-manual 2.4.57-9.el8jbcs, +2 more
    fixed: vendor fix RHSA-2024:1316
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 8.6.0-3.el7jbcs, jbcs-httpd24-libcurl 8.6.0-3.el7jbcs, jbcs-httpd24-mod_md 2.4.24-4.el7jbcs, jbcs-httpd24-openssl 1.1.1k-17.el7jbcs, jbcs-httpd24-apr-util 1.6.1-104.el7jbcs, jbcs-httpd24-mod_http2 1.15.19-36.el7jbcs, +15 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 8.6.0-3.el8jbcs, jbcs-httpd24-libcurl 8.6.0-3.el8jbcs, jbcs-httpd24-mod_md 2.4.24-4.el8jbcs, jbcs-httpd24-openssl 1.1.1k-17.el8jbcs, jbcs-httpd24-apr-util 1.6.1-104.el8jbcs, jbcs-httpd24-mod_http2 1.15.19-36.el8jbcs, +15 more Red Hat OpenStack Platform 16.1 httpd Red Hat OpenStack Platform 16.2 httpd Red Hat OpenStack Platform 17.1 httpd Red Hat OpenStack Platform 18.0 httpd
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-133-01 updated cvss 7.5

Hitachi Energy Service Suite

  • Hitachi Energy Service Suite <=9.8.1.3
    affected: fixed in 9.8.1.4
  • Hitachi Energy Service Suite 9.8.1.4
    fixed

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

3.04% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami apache
<2.4.58
2.4.58

Affected products

  • Apache Software Foundation Apache HTTP Server

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.