Apache · Apache · CWE-918 · published 2021-09-16
CVE-2021-40438Apache HTTP Server-Side Request Forgery (SSRF)
Patch today Known exploited and used in ransomware campaigns.
CVE-2021-40438 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2021-12-01, and it is known to be used in ransomware campaigns. EPSS estimates a 100% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Apache vulnerability: CVSS 9.0 (v3.1), attacks can be automated, a successful attack gives total control of the component. Patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux. US federal agencies must remediate by 2021-12-15. Patch today.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2021-12-15)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | apache2 | Fixed in 2.4.49-1 |
| 12 bookworm | apache2 | Fixed in 2.4.49-1 | |
| Ubuntu | 20.04 LTS | apache2 | Fixed in 2.4.41-4ubuntu3.6 |
| 18.04 LTS | apache2 | Fixed in 2.4.29-1ubuntu4.18 | |
| Red Hat Enterprise Linux | RHEL 9 | httpd | Not affected |
| RHEL 7 | httpd | Fixed in 2.4.6-97.el7_9.1 RHSA-2021:3856 | |
| RHEL 6 | httpd | Not affected |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
App server & middlewareApache
HTTP Server-Side Request Forgery (SSRF)CVE-2021-40438
Why: Known exploited and used in ransomware campaigns.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2021-12-01 | CISA KEV |
| Ransomware use | Known | CISA KEV |
| EPSS (30-day exploitation probability) | 100% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.0 (v3.1)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-918: Server-Side Request Forgery
More from this vendor: all Apache vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Apache Software Foundation Apache HTTP Server
Apache HTTP Server 2.4through2.4.48(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.