CVE-2021-40438: mod_proxy SSRF
CVE-2021-40438 affects 74 listed versions of Apache HTTP Server in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Apache HTTP Server
74 of 89 listed versions are affected. No fixed release is named. The newest release, 2.4.71, is not affected.
2.3.7 2.3.6 2.3.5 2.3.4 2.3.0 2.2.34 2.2.33 2.2.32 2.2.31 2.2.30 2.2.29 2.2.27 2.2.26 2.2.25 2.2.24 2.2.23 2.2.22 2.2.21 2.2.20 2.2.19 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1 2.0.65 2.0.64 2.0.63 2.0.61 2.0.60 2.0.59 2.0.58 2.0.57 2.0.56 2.0.55 2.0.54 2.0.53 2.0.52 2.0.51 2.0.50 1.4.0 1.3.68 1.3.65 1.3.42 1.3.41 1.3.40 1.3.39 1.3.38 1.3.37 1.3.36 1.3.35 1.3.34 1.3.33 1.3.32 1.3.31 and 14 more
What it is
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H (NVD)
Published by Apache Software Foundation on 16 September 2021. Last changed 6 August 2026. CISA lists it as used in ransomware campaigns. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2021-40438 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.