CVE-2021-40438
published critical CVSS 3.1 · 9.0mod_proxy SSRF
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache HTTP ServerApache HTTP Server 2.4 through 2.4.48 | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1716 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | httpd | Advisory build | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| Alpine Linux | edge | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Debian | bullseye | apache2 | Advisory build | 2.4.51-1~deb11u1 | DSA-4982-1 |
| Oracle Linux | 7 | httpdaarch64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdppc64 | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| AlmaLinux | 8 | httpd-devel | Advisory build | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | httpd-filesystem | Advisory build | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| AlmaLinux | 8 | httpd-manual | Advisory build | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| AlmaLinux | 8 | httpd-tools | Advisory build | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_http2 | Advisory build | 1.15.7-3.module_el8.5.0+2609+b30d9eec | ALSA-2021:3816 |
| AlmaLinux | 8 | mod_http2 | Advisory build | 1.15.7-3.module_el8.5.0+2609+b30d9eec | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_ldap | Advisory build | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_md | Advisory build | 1:2.0.8-8.module_el8.5.0+2609+b30d9eec | ALSA-2021:3816 |
| AlmaLinux | 8 | mod_md | Advisory build | 1:2.0.8-8.module_el8.5.0+2609+b30d9eec | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_md | Advisory build | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALSA-2021:3816 |
| AlmaLinux | 8 | mod_md | Advisory build | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_proxy_html | Advisory build | 1:2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_session | Advisory build | 2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| AlmaLinux | 8 | mod_ssl | Advisory build | 1:2.4.37-43.module_el8.5.0+2597+c4b14997.alma | ALSA-2021:4537 |
| Alpine Linux | v3.11 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.12 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.13 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.14 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.15 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.16 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.17 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.18 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.19 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.20 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.21 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.22 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.23 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Alpine Linux | v3.24 | apache2 | Fixed | 2.4.49-r0 | Package fix record |
| Debian | buster | apache2 | Advisory build | 2.4.38-3+deb10u6 | DSA-4982-1 |
| Debian | stretch | apache2 | Advisory build | 2.4.25-3+deb9u11 | DLA-2776-1 |
| Oracle Linux | 7 | httpdx86_64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | httpd-develaarch64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | httpd-develx86_64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | httpd-manualaarch64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | httpd-manualx86_64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | httpd-toolsaarch64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | httpd-toolsx86_64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_ldapaarch64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_ldapx86_64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_proxy_htmlaarch64 | Advisory build | 1:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_proxy_htmlx86_64 | Advisory build | 1:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_sessionaarch64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_sessionx86_64 | Advisory build | 0:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_sslaarch64 | Advisory build | 1:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 7 | mod_sslx86_64 | Advisory build | 1:2.4.6-97.0.1.el7_9.1 | ELSA-2021-3856 |
| Oracle Linux | 8 | httpdaarch64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpdx86_64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-develaarch64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-develx86_64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-filesystemaarch64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-filesystemx86_64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-manualaarch64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-manualx86_64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-toolsaarch64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | httpd-toolsx86_64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_http2aarch64 · httpd · 2.4b | Advisory build | 0:1.15.7-3.module+el8.4.0+20024+b87b2deb | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_http2x86_64 · httpd · 2.4b | Advisory build | 0:1.15.7-3.module+el8.4.0+20024+b87b2deb | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_ldapaarch64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_ldapx86_64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_mdaarch64 · httpd · 2.4b | Advisory build | 1:2.0.8-8.module+el8.3.0+7816+49791cfd | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_mdx86_64 · httpd · 2.4b | Advisory build | 1:2.0.8-8.module+el8.3.0+7816+49791cfd | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_proxy_htmlaarch64 · httpd · 2.4b | Advisory build | 1:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_proxy_htmlx86_64 · httpd · 2.4b | Advisory build | 1:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_sessionaarch64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_sessionx86_64 · httpd · 2.4b | Advisory build | 0:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_sslaarch64 · httpd · 2.4b | Advisory build | 1:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Oracle Linux | 8 | mod_sslx86_64 · httpd · 2.4b | Advisory build | 1:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 | ELSA-2021-3816 |
| Red Hat Enterprise Linux | RHEL-7 | httpdppc64le | Advisory build | 2.4.6-89.el7_6.2 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdppc64le | Advisory build | 2.4.6-90.el7_7.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdppc64le | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpds390x | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdsrc | Advisory build | 2.4.6-40.el7_2.7 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdsrc | Advisory build | 2.4.6-45.el7_3.6 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdsrc | Advisory build | 2.4.6-67.el7_4.7 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdsrc | Advisory build | 2.4.6-89.el7_6.2 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdsrc | Advisory build | 2.4.6-90.el7_7.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdsrc | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdx86_64 | Advisory build | 2.4.6-40.el7_2.7 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdx86_64 | Advisory build | 2.4.6-45.el7_3.6 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdx86_64 | Advisory build | 2.4.6-67.el7_4.7 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdx86_64 | Advisory build | 2.4.6-89.el7_6.2 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdx86_64 | Advisory build | 2.4.6-90.el7_7.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpdx86_64 | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfoppc64 | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfoppc64le | Advisory build | 2.4.6-89.el7_6.2 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfoppc64le | Advisory build | 2.4.6-90.el7_7.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfoppc64le | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfos390x | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfox86_64 | Advisory build | 2.4.6-40.el7_2.7 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfox86_64 | Advisory build | 2.4.6-45.el7_3.6 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfox86_64 | Advisory build | 2.4.6-67.el7_4.7 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfox86_64 | Advisory build | 2.4.6-89.el7_6.2 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfox86_64 | Advisory build | 2.4.6-90.el7_7.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-debuginfox86_64 | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
| Red Hat Enterprise Linux | RHEL-7 | httpd-develppc64 | Advisory build | 2.4.6-97.el7_9.1 | RHSA-2021:3856 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache HTTP Server | Apache HTTP Server 2.4 through 2.4.48 (affected · custom) | apache · cna |
Weaknesses
1- CWE-918 CWE-918 Server Side Request Forgery (SSRF)
References
20- https://cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf
- https://httpd.apache.org/security/vulnerabilities_24.html
- [httpd-users] 20211019 [users@httpd] Regarding CVE-2021-40438 https://lists.apache.org/thread.html/r210807d0bb55f4aa6fbe1512be6bcc4dacd64e84940429fba329967a%40%3Cusers.httpd.apache.org%3E
- [httpd-bugs] 20211008 [Bug 65616] CVE-2021-36160 regression https://lists.apache.org/thread.html/r2eb200ac1340f69aa22af61ab34780c531d110437910cb9c0ece3b37%40%3Cbugs.httpd.apache.org%3E
- [httpd-users] 20210923 [users@httpd] Re: [External] : [users@httpd] 2.4.49 security fixes: more info https://lists.apache.org/thread.html/r3925e167d5eb1c75def3750c155d753064e1d34a143028bb32910432%40%3Cusers.httpd.apache.org%3E
- [httpd-users] 20210923 Re: [users@httpd] Re: [External] : [users@httpd] 2.4.49 security fixes: more info https://lists.apache.org/thread.html/r61fdbfc26ab170f4e6492ef3bd5197c20b862ce156e9d5a54d4b899c%40%3Cusers.httpd.apache.org%3E
- [httpd-users] 20210923 [users@httpd] 2.4.49 security fixes: more info https://lists.apache.org/thread.html/r82838efc5fa6fc4c73986399c9b71573589f78b31846aff5bd9b1697%40%3Cusers.httpd.apache.org%3E
- [httpd-users] 20210923 Re: [users@httpd] 2.4.49 security fixes: more info https://lists.apache.org/thread.html/r82c077663f9759c7df5a6656f925b3ee4f55fcd33c889ba7cd687029%40%3Cusers.httpd.apache.org%3E
- [httpd-users] 20211019 Re: [users@httpd] Regarding CVE-2021-40438 https://lists.apache.org/thread.html/rf6954e60b1c8e480678ce3d02f61b8a788997785652e9557a3265c00%40%3Cusers.httpd.apache.org%3E
- [debian-lts-announce] 20211002 [SECURITY] [DLA 2776-1] apache2 security update https://lists.debian.org/debian-lts-announce/2021/10/msg00001.html
- FEDORA-2021-dce7e7738e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7TJOHX7RHWD/
- FEDORA-2021-e3f6dd670d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3HDQK4VP45R/
- GLSA-202208-20 https://security.gentoo.org/glsa/202208-20
- https://security.netapp.com/advisory/ntap-20211008-0004/
- 20211124 Multiple Vulnerabilities in Apache HTTP Server Affecting Cisco Products: November 2021 https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-2.4.49-VWL69sWQ
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-40438
- DSA-4982 https://www.debian.org/security/2021/dsa-4982
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.tenable.com/security/tns-2021-17
Provider assertions
3apache · cna
mod_proxy SSRF
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4b3333d562c34f8529a89b94aadf7f468cf7b9bee044fd27d5c8d9d022b0010b
- Ingested
- 23 Sep 2026, 07:55:59 UTC
- Source record
- Official CVE record