CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2023-31122 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-31122?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-31122?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-31122 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache HTTP Server | through 2.4.57 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | apache2 | 2.4.59-1~deb10u1 | DLA-3818-1 |
| Debian | 11 | apache2 | 2.4.59-1~deb11u1 | DSA-5662-1 |
| Debian | 12 | apache2 | 2.4.59-1~deb12u1 | DEBIAN-CVE-2023-31122 DSA-5662-1 |
| Debian | 13, 14 | apache2 | 2.4.58-1 | DEBIAN-CVE-2023-31122 |
| Ubuntu | 20.04:LTS | apache2 | 2.4.41-4ubuntu3.15 | UBUNTU-CVE-2023-31122 USN-6506-1 |
| Ubuntu | 22.04:LTS | apache2 | 2.4.52-1ubuntu4.7 | UBUNTU-CVE-2023-31122 USN-6506-1 |
| Ubuntu | Pro:14.04:LTS | apache2 | 2.4.7-1ubuntu4.22+esm9 | UBUNTU-CVE-2023-31122 USN-6510-1 |
| Ubuntu | Pro:16.04:LTS | apache2 | 2.4.18-2ubuntu3.17+esm11 | UBUNTU-CVE-2023-31122 USN-6510-1 |
| Ubuntu | Pro:18.04:LTS | apache2 | 2.4.29-1ubuntu4.27+esm1 | UBUNTU-CVE-2023-31122 USN-6510-1 |
| Red Hat | enterprise_linux:8::appstream | httpd, mod_ldap, httpd-devel and 9 more | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat | enterprise_linux:8::appstream | mod_http2, mod_http2-debuginfo, mod_http2-debugsource | 0:1.15.7-10.module+el8.10.0+21653+eaff63f0 | RHSA-2024:3121 |
| Red Hat | enterprise_linux:8::appstream | mod_md, mod_md-debuginfo, mod_md-debugsource | 1:2.0.8-8.module+el8.9.0+19080+567b90f8 | RHSA-2024:3121 |
| Red Hat | enterprise_linux:8::appstream | mod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more | 1:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat | enterprise_linux:9::appstream | httpd, mod_lua, mod_ldap and 13 more | 0:2.4.57-8.el9 | RHSA-2024:2278 |
| Red Hat | enterprise_linux:9::appstream | mod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more | 1:2.4.57-8.el9 | RHSA-2024:2278 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more | 0:8.6.0-3.el7jbcs | RHSA-2024:1316 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more | 0:2.4.57-9.el7jbcs | RHSA-2024:1316 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-mod_proxy_cluster, jbcs-httpd24-mod_proxy_cluster-debuginfo | 0:1.3.20-3.el7jbcs | RHSA-2024:1316 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html | 1:2.4.57-9.el7jbcs | RHSA-2024:1316 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more | 1:1.1.1k-17.el7jbcs | RHSA-2024:1316 |
| Red Hat | jboss_core_services:1::el8 | jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more | 0:8.6.0-3.el8jbcs | RHSA-2024:1316 |
| 4 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 7 more | apache2 | 2.4.51-150200.3.59.1 | SUSE-SU-2023:4431-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1 | apache2 | 2.4.33-150000.3.78.1 | SUSE-SU-2023:4432-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | apache2 | 2.4.66-150400.6.57.1 | SUSE-SU-2026:2686-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP4 and 3 more | apache2 | 2.4.51-150400.6.14.1 | SUSE-SU-2023:4430-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | apache2, apache2-tls13 | 2.4.51-35.35.1 | SUSE-SU-2023:4451-1 |
| openSUSE | Leap 15.4, Leap 15.5 | apache2 | 2.4.51-150400.6.14.1 | SUSE-SU-2023:4430-1 |
| openSUSE | Tumbleweed | apache2 | 2.4.58-1.1 | openSUSE-SU-2024:13350-1 |
| AlmaLinux | 8 | httpd, mod_ldap, httpd-devel and 4 more | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux | 8 | mod_http2 | 1.15.7-10.module_el8.10.0+3832+564e7653 | ALSA-2024:3121 |
| AlmaLinux | 8 | mod_md | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALSA-2024:3121 |
| AlmaLinux | 8 | mod_md | 1:2.0.8-8.module_el8.6.0+3031+fb177b09 | ALSA-2024:3121 |
| AlmaLinux | 8 | mod_ssl, mod_proxy_html | 1:2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux | 9 | httpd, mod_lua, mod_ldap and 6 more | 2.4.57-8.el9 | ALSA-2024:2278 |
| AlmaLinux | 9 | mod_ssl, mod_proxy_html | 1:2.4.57-8.el9 | ALSA-2024:2278 |
| Rocky Linux | 8 | httpd | 0:2.4.37-64.module+el8.10.0+1717+030a9fed | RLSA-2024:3121 |
| Rocky Linux | 8 | mod_http2 | 0:1.15.7-10.module+el8.10.0+1775+6b057638 | RLSA-2024:3121 |
| Rocky Linux | 8 | mod_md | 1:2.0.8-8.module+el8.9.0+1370+89cc8ad5 | RLSA-2024:3121 |
| Alpine | v3.15, v3.16, v3.17 and 7 more | apache2 | 2.4.58-r0 | ALPINE-CVE-2023-31122 |
| Alpaquita | 23, stream | apache2 | 2.4.58-r0 | BELL-CVE-2023-31122 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
This flaw only affects configurations with mod_macro loaded and when a very long macro is configured and used, specifically a macro longer than 8191 characters. If these conditions are not present, the server is not affected and no further mitigation is needed. For more information about the mitigation, see the mitigation section below.
The httpd mod_macro module is enabled by default in Red Hat Enterprise Linux 8, 9, and in RHSCL. However, there are no macros used in the default httpd configuration.
Disabling mod_macro and restarting httpd or making sure the macros used are smaller than the required length to trigger this vulnerability will mitigate this flaw. Furthermore, it's unlikely that a very long macro with the length needed to trigger this issue is being used.
| Product | Package | State | Advisory |
|---|---|---|---|
| JBoss Core Services for RHEL 8 | jbcs-httpd24-httpd-0:2.4.57-9.el8jbcs | Fixed 2024-03-18 | RHSA-2024:1316 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-httpd-0:2.4.57-9.el7jbcs | Fixed 2024-03-18 | RHSA-2024:1316 |
| Red Hat Enterprise Linux 8 | httpd:2.4-8100020240405103607.e155f54d | Fixed 2024-05-22 | RHSA-2024:3121 |
| Red Hat Enterprise Linux 9 | httpd-0:2.4.57-8.el9 | Fixed 2024-04-30 | RHSA-2024:2278 |
| Red Hat JBoss Core Services | httpd | Fixed 2024-03-18 | RHSA-2024:1317 |
| OpenShift Pipelines | httpd | Affected | |
| Red Hat Enterprise Linux 6 | httpd | Out of support scope | |
| Red Hat Enterprise Linux 7 | httpd | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 6 | httpd22 | Out of support scope | |
| Red Hat OpenShift Data Science (RHODS) | httpd | Will not fix | |
| Red Hat OpenShift GitOps | httpd | Will not fix | |
| Red Hat OpenStack Platform 16.1 | httpd | Not affected | |
| Red Hat OpenStack Platform 16.2 | httpd | Not affected | |
| Red Hat OpenStack Platform 17.1 | httpd | Not affected | |
| Red Hat OpenStack Platform 18.0 | httpd | Not affected | |
| Red Hat Software Collections | httpd24-httpd | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-31122.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-25-133-01 | Hitachi Energy Service Suite | 2025-02-25 | Energy | Hitachi Energy Service Suite versions 9.8.1.3 and below | Hitachi Energy Service Suite version 9.8.1.4 |
| ICSA-24-228-06 | Siemens SINEC NMS | 2024-08-13 | Multiple | SINEC NMS | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.