CVSS 3.1
9.0 criticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HCritical (9.0) in Apache Apache. In CISA KEV since 2021-12-01, with known ransomware use. EPSS >99.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HExplain CVE-2021-40438 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40438?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40438?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-2021-40438 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 | from Apache HTTP Server 2.4 through 2.4.48 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | apache2 | 2.4.25-3+deb9u11 | DLA-2776-1 |
| Debian | 10 | apache2 | 2.4.38-3+deb10u6 | DSA-4982-1 |
| Debian | 11 | apache2 | 2.4.51-1~deb11u1 | DSA-4982-1 |
| Debian | 12, 13, 14 | apache2 | 2.4.49-1 | DEBIAN-CVE-2021-40438 |
| Ubuntu | 18.04:LTS | apache2 | 2.4.29-1ubuntu4.18 | UBUNTU-CVE-2021-40438 USN-5090-1 |
| Ubuntu | 20.04:LTS | apache2 | 2.4.41-4ubuntu3.6 | UBUNTU-CVE-2021-40438 USN-5090-1 |
| Ubuntu | Pro:14.04:LTS | apache2 | 2.4.7-1ubuntu4.22+esm2 | USN-5090-2 |
| Ubuntu | Pro:16.04:LTS | apache2 | 2.4.18-2ubuntu3.17+esm3 | UBUNTU-CVE-2021-40438 USN-5090-2 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | httpd, mod_ldap, httpd-devel and 4 more | 0:2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | mod_ssl, mod_proxy_html | 1:2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat | enterprise_linux:8::appstream | httpd, mod_ldap, httpd-devel and 9 more | 0:2.4.37-39.module+el8.4.0+12865+a7065a39.1 | RHSA-2021:3816 |
| Red Hat | enterprise_linux:8::appstream | mod_http2, mod_http2-debuginfo, mod_http2-debugsource | 0:1.15.7-3.module+el8.4.0+8625+d397f3da | RHSA-2021:3816 |
| Red Hat | enterprise_linux:8::appstream | mod_md, mod_md-debuginfo, mod_md-debugsource | 1:2.0.8-8.module+el8.3.0+6814+67d1e611 | RHSA-2021:3816 |
| Red Hat | enterprise_linux:8::appstream | mod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more | 1:2.4.37-39.module+el8.4.0+12865+a7065a39.1 | RHSA-2021:3816 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more | 0:2.4.37-76.jbcs.el7 | RHSA-2021:3746 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo | 0:1.3.16-7.Final_redhat_2.jbcs.el7 | RHSA-2021:3746 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo | 0:1.15.7-19.jbcs.el7 | RHSA-2021:3746 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more | 0:1.2.48-18.redhat_1.jbcs.el7 | RHSA-2021:3746 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo | 1:2.0.8-38.jbcs.el7 | RHSA-2021:3746 |
| Red Hat | jboss_core_services:1::el7 | jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo | 0:2.9.2-65.GA.jbcs.el7 | RHSA-2021:3746 |
| 27 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 more | apache2 | 2.4.33-3.55.1 | SUSE-SU-2021:3335-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | apache2 | 2.4.23-29.80.1 | SUSE-SU-2021:3299-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP3 and 2 more | apache2 | 2.4.43-3.32.1 | SUSE-SU-2021:3522-1 |
| openSUSE | Leap 15.2 | apache2 | 2.4.43-lp152.2.21.1 | openSUSE-SU-2021:1438-1 |
| openSUSE | Leap 15.3 | apache2 | 2.4.43-3.32.1 | openSUSE-SU-2021:3522-1 |
| openSUSE | Tumbleweed | owasp-modsecurity-crs | 4.9.0-1.1 | openSUSE-SU-2025:14708-1 |
| AlmaLinux | 8 | httpd, mod_ldap, httpd-devel and 4 more | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_http2 | 1.15.7-3.module_el8.5.0+2609+b30d9eec | ALBA-2021:4604 ALSA-2021:3816 ALSA-2021:4537 |
| AlmaLinux | 8 | mod_md | 1:2.0.8-8.module_el8.5.0+2609+b30d9eec | ALBA-2021:4604 ALSA-2021:3816 ALSA-2021:4537 |
| AlmaLinux | 8 | mod_md | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALBA-2021:4604 ALSA-2021:3816 ALSA-2021:4537 |
| AlmaLinux | 8 | mod_ssl, mod_proxy_html | 1:2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| Rocky Linux | 8 | httpd | 0:2.4.37-39.module+el8.4.0+571+fd70afb1 | RLSA-2021:3816 |
| Rocky Linux | 8 | mod_http2 | 0:1.15.7-3.module+el8.4.0+553+7a69454b | RLSA-2021:3816 |
| Rocky Linux | 8 | mod_http2 | 0:1.15.7-3.module+el8.5.0+695+1fa8055e | RLSA-2021:3816 |
| Rocky Linux | 8 | mod_md | 1:2.0.8-8.module+el8.4.0+553+7a69454b | RLSA-2021:3816 |
| Rocky Linux | 8 | mod_md | 1:2.0.8-8.module+el8.5.0+695+1fa8055e | RLSA-2021:3816 |
| Alpine | v3.11, v3.12, v3.13 and 11 more | apache2 | 2.4.49-r0 | ALPINE-CVE-2021-40438 |
| Azure Linux | 2 | httpd | 2.4.52-1 | AZL-6487 |
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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
Impact of the flaw set to Important because the actions an attacker can do varies a lot based on the kind of infrastructure in place, the kind of internal services and resources, and the available endpoints on those services. The attacker should also perform some kind of target-specific reconnaissance in order to find out all the above information.
The version of httpd as shipped in Red Hat Enterprise Linux 7 is affected by this flaw even if the upstream code was not, because the Unix Domain Socket support required to trigger the flaw was backported.
The version of httpd as shipped in Red hat Enterprise Linux 6 is not affected by this flaw because there is no support for Unix Domain Socket.
The flaw can be triggered only if mod_proxy is in use (e.g. ProxyPass, ReverseProxy is used in the httpd configuration files).
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
| Product | Package | State | Advisory |
|---|---|---|---|
| JBoss Core Services for RHEL 8 | jbcs-httpd24-httpd-0:2.4.37-76.el8jbcs | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services for RHEL 8 | jbcs-httpd24-mod_cluster-native-0:1.3.16-7.Final_redhat_2.el8jbcs | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services for RHEL 8 | jbcs-httpd24-mod_http2-0:1.15.7-19.el8jbcs | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services for RHEL 8 | jbcs-httpd24-mod_jk-0:1.2.48-18.redhat_1.el8jbcs | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services for RHEL 8 | jbcs-httpd24-mod_md-1:2.0.8-38.el8jbcs | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services for RHEL 8 | jbcs-httpd24-mod_security-0:2.9.2-65.GA.el8jbcs | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-httpd-0:2.4.37-76.jbcs.el7 | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_cluster-native-0:1.3.16-7.Final_redhat_2.jbcs.el7 | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_http2-0:1.15.7-19.jbcs.el7 | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_jk-0:1.2.48-18.redhat_1.jbcs.el7 | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_md-1:2.0.8-38.jbcs.el7 | Fixed 2021-10-07 | RHSA-2021:3746 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_security-0:2.9.2-65.GA.jbcs.el7 | Fixed 2021-10-07 | RHSA-2021:3746 |
| Red Hat Enterprise Linux 7 | httpd-0:2.4.6-97.el7_9.1 | Fixed 2021-10-14 | RHSA-2021:3856 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | httpd-0:2.4.6-40.el7_2.7 | Fixed 2021-10-14 | RHSA-2021:3856 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | httpd-0:2.4.6-45.el7_3.6 | Fixed 2021-10-14 | RHSA-2021:3856 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | httpd-0:2.4.6-67.el7_4.7 | Fixed 2021-10-14 | RHSA-2021:3856 |
| Red Hat Enterprise Linux 7.6 Advanced Update Support | httpd-0:2.4.6-89.el7_6.2 | Fixed 2021-10-14 | RHSA-2021:3856 |
| Red Hat Enterprise Linux 6 | httpd | Not affected | |
| Red Hat Enterprise Linux 9 | httpd | Not affected | |
| Red Hat JBoss Enterprise Application Platform 6 | httpd | Not affected | |
| 10 more in the JSON and on Red Hat's page. | |||
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-2021-40438.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-22-167-06 | Siemens Apache HTTP Server | 2022-06-14 | Multiple | SINEC NMS, SINEMA Server V14 | 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.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.