CVE-2021-40438HTTP Server SSRF
A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user.
Published Sep 16, 2021 · Updated Oct 24, 2026 · Also known as ALPINE-CVE-2021-40438, BIT-apache-2021-40438, CLEANSTART-2026-BM33422, DEBIAN-CVE-2021-40438, TR-21-0956, UBUNTU-CVE-2021-40438, openSUSE-SU-2025:14708-1
Key Facts
Patch immediately- CVE-2021-40438 is a critical-severity vulnerability (CVSS 9.0 v3.1) affecting HTTP Server (Apache), Cloud Backup (Netapp), Clustered Data Ontap (Netapp) and 22 more products.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Dec 1, 2021 and is known to be used in ransomware campaigns. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 100% probability of exploitation in the next 30 days.
- Fixed versions are available, including apache 2.4.49, apache 2.4.49-1, apache 2.4.49-1.mga8.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
100%
Higher than 99.9% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
72/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Dec 1, 2021
76 days after publication
Federal due date
Dec 15, 2021
Overdue
Ransomware use
Known
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
14
Reports of active use
Required action (CISA): Apply updates per vendor instructions.
Advisories And Exploit References
- advisoryhttps://httpd.apache.org/security/vulnerabilities_24.html#CVE-2021-40438
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2021-40438
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2021-40438
- advisoryhttps://ubuntu.com/security/CVE-2021-40438
- advisoryhttps://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-40438
- advisoryhttps://www.cve.org/CVERecord?id=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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Dec 1, 2021 | Dec 15, 2021 | Known |
| Industry KEV feed | Dec 1, 2021 | Dec 15, 2021 | Known |
| CIRCL KEV | Dec 1, 2021 | Dec 15, 2021 | Known |
| ENISA EUVD | Dec 1, 2021 | n/a | Not reported |
Required action: Apply updates per vendor instructions.
Affected Products
407 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| HTTP ServerApache | 12.2.1.3.0, 12.2.1.4.0, >= Apache HTTP Server 2.4 | 2.4.48 |
| Cloud BackupNetapp | See advisory | n/a |
| Clustered Data OntapNetapp | See advisory | n/a |
| StoragegridNetapp | See advisory | n/a |
| Enterprise Manager Ops CenterOracle | 12.4.0.0 | n/a |
Patched Releases
apache
2.4.49, 2.4.49-1, 2.4.49-1.mga8
HTTP Server
<=2.4.48
apache2
2.4.18-2ubuntu3.17+esm2, 2.4.18-2ubuntu3.17+esm3, 2.4.18-2ubuntu3.19, 2.4.23-29.80.1, 2.4.25-3+deb9u11, 2.4.29-1ubuntu4.17, 2.4.29-1ubuntu4.18, 2.4.33-3.55.1, 2.4.38-3+deb10u6, 2.4.41-4ubuntu3.5, 2.4.41-4ubuntu3.6, 2.4.43-3.32.1, 2.4.43-lp152.2.21.1, 2.4.49-1, 2.4.49-r0, 2.4.51-1~deb11u1, 2.4.7-1ubuntu4.22+esm2
apache2-bin
2.4.18-2ubuntu3.19
apache2-data
2.4.18-2ubuntu3.19
apache2-dev
2.4.18-2ubuntu3.19
apache2-devel
2.4.23-29.80.1, 2.4.33-3.55.1, 2.4.43-3.32.1, 2.4.43-lp152.2.21.1
apache2-doc
2.4.18-2ubuntu3.19, 2.4.23-29.80.1, 2.4.33-3.55.1, 2.4.43-3.32.1, 2.4.43-lp152.2.21.1
apache2-event
2.4.43-3.32.1, 2.4.43-lp152.2.21.1
apache2-example-pages
2.4.23-29.80.1, 2.4.43-3.32.1, 2.4.43-lp152.2.21.1
apache2-prefork
2.4.23-29.80.1, 2.4.33-3.55.1, 2.4.43-3.32.1, 2.4.43-lp152.2.21.1
apache2-suexec-custom
2.4.18-2ubuntu3.19
apache2-suexec-pristine
2.4.18-2ubuntu3.19
apache2-utils
2.4.18-2ubuntu3.19, 2.4.23-29.80.1, 2.4.33-3.55.1, 2.4.43-3.32.1, 2.4.43-lp152.2.21.1
apache2-worker
2.4.23-29.80.1, 2.4.33-3.55.1, 2.4.43-3.32.1, 2.4.43-lp152.2.21.1
F5os
<=1.1.4
httpd
0:2.4.6-40.el7_2.7, 2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1, 2.4.37-39.module_el8.4.0+2002+7519fa2d.1.tuxcare.els1, 2.4.37-39.module+el8.4.0+571+fd70afb1, 2.4.43-9.oe1, 2.4.48-3.ph1, 2.4.48-3.ph2, 2.4.48-3.ph3, 2.4.49-1, 2.4.51-1.amzn2, 2.4.52-1, 2.4.6-97.0.1.el7_9.1
httpd-devel
2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1, 2.4.37-39.module_el8.4.0+2002+7519fa2d.1.tuxcare.els1, 2.4.51-1.amzn2, 2.4.6-97.0.1.el7_9.1
httpd-filesystem
2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1, 2.4.37-39.module_el8.4.0+2002+7519fa2d.1.tuxcare.els1, 2.4.51-1.amzn2
httpd-manual
2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1, 2.4.37-39.module_el8.4.0+2002+7519fa2d.1.tuxcare.els1, 2.4.51-1.amzn2, 2.4.6-97.0.1.el7_9.1
httpd-tools
2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1, 2.4.37-39.module_el8.4.0+2002+7519fa2d.1.tuxcare.els1, 2.4.51-1.amzn2, 2.4.6-97.0.1.el7_9.1
httpd:2.4
8010020211008125020.c27ad7f8
httpd24
2.4.51-1.94.amzn1
httpd24-devel
2.4.51-1.94.amzn1
httpd24-httpd
0:2.4.34-22.el7.1
Timeline
Publicly disclosed
Sep 16, 2021
Added to CISA KEV
Dec 1, 2021
Added to Industry KEV feed
Dec 1, 2021
Added to CIRCL KEV
Dec 1, 2021
Added to ENISA EUVD
Dec 1, 2021
Last updated
Oct 24, 2026
Weakness Type
- CWE-918 Server-Side Request Forgery
References
- advisoryhttpd.apache.org · vulnerabilities_24.html
- advisorysecurity.alpinelinux.org · CVE-2021-40438
- advisorysecurity-tracker.debian.org · CVE-2021-40438
- advisoryubuntu.com · CVE-2021-40438
- advisoryweb.nvd.nist.gov · vuln
FAQ
Common Questions.
A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user.
Affected: HTTP Server (Apache) versions 12.2.1.3.0, 12.2.1.4.0, >= Apache HTTP Server 2.4; Cloud Backup (Netapp); Clustered Data Ontap (Netapp), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Dec 1, 2021 and is known to be used in ransomware campaigns.
Yes. It was added on Dec 1, 2021 with a federal remediation due date of Dec 15, 2021.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including apache 2.4.49, apache 2.4.49-1, apache 2.4.49-1.mga8.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2021-40438 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo