Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🛡️
CISA KEV · ACTIVELY EXPLOITED
CRITICAL severity

CVE-2021-40438 — httpd

CRITICAL

CVE-2021-40438 is a critical-severity (CVSS 9) Server-Side Request Forgery (SSRF) vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2021-12-01) and has been used in ransomware campaigns — treat it as actively exploited and patch now. No vendor fix is recorded yet; mitigation options are listed below.

Also known asBIT-apache-2021-40438
Published
Updated
Affected
39 products
Patched
See advisory
Exploits
13 known
Exploitation data as of Oct 5, 2026 · OSV.dev, NVD, CISA KEV, FIRST.org (EPSS)

Exploitation Status

Actively exploited in the wild

  • Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2021-12-01 — including use in ransomware campaigns. Federal agencies were required to remediate by 2021-12-15.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2021-40438.

EPSS Exploitation Probability

via FIRST.org ↗
100.0%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
92.8%95.2%97.6%100.0%94.4%100.0%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-40438 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 383,485 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.

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.

Affected Products

39 products · 83 configurations
Application
http serverapache
≤ 2.4.48
range
OS
brocade fabric operating system firmwarebroadcom
all
OS
debian linuxdebian
3 versions
9.010.011.0
OS
f5osf5
≥ 1.2.0 && ≤ 1.2.1
range
OS
fedorafedoraproject
2 versions
3435
Application
cloud backupnetapp
all
Exploits & PoCs
13

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Remediation status

    No fixed release is recorded for CVE-2021-40438 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.

  3. Mitigate without a patch

    Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.

How to detect CVE-2021-40438

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2021-40438 -u https://target
Template
Apache <= 2.4.48 Mod_Proxy - Server-Side Request Forgery
Severity
critical
Impact
Attackers can perform SSRF attacks via mod_proxy to access internal resources and forward requests to arbitrary origin servers, potentially exposing internal services and data.
Remediation
Upgrade to Apache version 2.4.49 or later.

Template by ProjectDiscovery nuclei-templates (pdteam), MIT licensed. View the full template. Scan only systems you are authorised to test.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

Impact of the flaw set to Important because the actions an attacker can do varies a lot based on the kind of infrastructure in place, the kind of internal services and resources, and the available endpoints on those services. The attacker should also perform some kind of target-specific reconnaissance in order to find…

Workaround published by Red Hat
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
Source: Red Hat security advisory for CVE-2021-40438 (CC BY 4.0)
ProductFixed inAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.37-76.el8jbcsRHSA-2021:3746
Red Hat Enterprise Linux 7httpd-0:2.4.6-97.el7_9.1RHSA-2021:3856
Red Hat Enterprise Linux 8httpd:2.4-8040020211008164252.522a0ee4RHSA-2021:3816
Red Hat Enterprise Linux 8.1 Extended Update Supporthttpd:2.4-8010020211008125020.c27ad7f8RHSA-2021:3837
Red Hat Enterprise Linux 8.2 Extended Update Supporthttpd:2.4-8020020211008164029.4cda2c84RHSA-2021:3836
Red Hat JBoss Core Servicessee advisoryRHSA-2021:3745
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-httpd-0:2.4.34-22.el7.1RHSA-2021:3754

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-40438 in your dependencies?

Find it across , including transitive dependencies.

CVE-2021-40438: httpd (Critical 9)