CVE-2021-40438
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.
Severity
CRITICAL
CVSS v3
9.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.999%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-12-01 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 1
Weakness
- CWE-918: Server-Side Request Forgery
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache HTTP Server-Side Request Forgery (SSRF) |
|---|---|
| Vendor / product | Apache / Apache |
| Date added | 2021-12-01 |
| Federal remediation due date | 2021-12-15 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2021-10-14 |
Timeline
- 2021-09-16Published by the CNA14:40 UTC
- 2021-10-14CISA SSVC decision recorded28 days after publication
- 2021-12-01Added to the CISA KEV catalog76 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2021-40438: Apache <= 2.4.48 Mod_Proxy - Server-Side Request Forgery
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache http_server | through 2.4.48no fix listed | not listed |
| oracle http_server | 12.2.1.3.0no fix listed12.2.1.4.0no fix listed | not listednot listed |
| broadcom brocade_fabric_operating_system_firmware | ||
| debian debian_linux | 10.0no fix listed11.0no fix listed9.0no fix listed | not listednot listednot listed |
| f5 f5os | from 1.1.0 through 1.1.4no fix listedfrom 1.2.0 through 1.2.1no fix listed | not listednot listed |
| fedoraproject fedora | 34no fix listed35no fix listed | not listednot listed |
| netapp cloud_backup | ||
| netapp clustered_data_ontap | ||
| netapp storagegrid | ||
| oracle enterprise_manager_ops_center | 12.4.0.0no fix listed | not listed |
| oracle instantis_enterprisetrack | 17.1no fix listed17.2no fix listed17.3no fix listed | not listednot listednot listed |
| oracle secure_global_desktop | 5.6no fix listed | not listed |
| oracle zfs_storage_appliance_kit | 8.8no fix listed | not listed |
| redhat enterprise_linux | 8.0no fix listed | not listed |
| redhat enterprise_linux_eus | 8.1no fix listed8.2no fix listed8.4no fix listed8.6no fix listed8.8no fix listed | not listednot listednot listednot listednot listed |
| redhat enterprise_linux_for_arm_64 | 8.0no fix listed | not listed |
| redhat enterprise_linux_for_arm_64_eus | 8.6no fix listed8.8no fix listed | not listednot listed |
| redhat enterprise_linux_for_ibm_z_systems | 7.0_s390xno fix listed8.0no fix listed | not listednot listed |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.1no fix listed8.4no fix listed8.8no fix listed | not listednot listednot listed |
| redhat enterprise_linux_for_ibm_z_systems_eus_s390x | 8.2no fix listed | not listed |
References
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7TJOHX7RHWD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3HDQK4VP45R/
- https://security.gentoo.org/glsa/202208-20
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-2.4.49-VWL69sWQ
- https://www.debian.org/security/2021/dsa-4982
- https://cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf
- https://lists.apache.org/thread.html/r210807d0bb55f4aa6fbe1512be6bcc4dacd64e84940429fba329967a%40%3Cusers.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r2eb200ac1340f69aa22af61ab34780c531d110437910cb9c0ece3b37%40%3Cbugs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r3925e167d5eb1c75def3750c155d753064e1d34a143028bb32910432%40%3Cusers.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r61fdbfc26ab170f4e6492ef3bd5197c20b862ce156e9d5a54d4b899c%40%3Cusers.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r82838efc5fa6fc4c73986399c9b71573589f78b31846aff5bd9b1697%40%3Cusers.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r82c077663f9759c7df5a6656f925b3ee4f55fcd33c889ba7cd687029%40%3Cusers.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rf6954e60b1c8e480678ce3d02f61b8a788997785652e9557a3265c00%40%3Cusers.httpd.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/10/msg00001.html
- https://security.netapp.com/advisory/ntap-20211008-0004/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-40438
- https://www.tenable.com/security/tns-2021-17
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-40438'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-40438'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-40438'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-40438'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-40438'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).