CVE & CISA-KEV Catalog

CVE-2021-40438

CRITICALCISA KEVEPSS 100th pctl
9.0
CVSS v3
NVD

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.

How to fix

Remediation Available
httpdAmazon
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
httpd-debuginfoAmazon
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
httpd-develAmazon
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
httpd-filesystemAmazon
Fixed in:0:2.4.51-1.amzn2
httpd-manualAmazon
Fixed in:0:2.4.51-1.amzn2
httpd-toolsAmazon
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
mod_ldapAmazon
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
mod_mdAmazon
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
mod_proxy_htmlAmazon
Fixed in:1:2.4.51-1.amzn2
Fixed in:1:2.4.51-1.amzn2
Fixed in:1:2.4.51-1.amzn2
mod_sessionAmazon
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
Fixed in:0:2.4.51-1.amzn2
mod_sslAmazon
Fixed in:1:2.4.51-1.amzn2
Fixed in:1:2.4.51-1.amzn2
Fixed in:1:2.4.51-1.amzn2
apache2Debian
Fixed in:2.4.49-1CVE-2021-40438
Fixed in:2.4.49-1CVE-2021-40438
Fixed in:2.4.49-1CVE-2021-40438
apache2Ubuntu
Fixed in:2.4.7-1ubuntu4.22+esm2USN-5090-2

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:2.4.18-2ubuntu3.17+esm2USN-5090-2

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:2.4.29-1ubuntu4.17USN-5090-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:2.4.41-4ubuntu3.5USN-5090-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

apache2-binUbuntu
Fixed in:2.4.7-1ubuntu4.22+esm2USN-5090-2

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:2.4.18-2ubuntu3.17+esm2USN-5090-2

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:2.4.29-1ubuntu4.17USN-5090-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:2.4.41-4ubuntu3.5USN-5090-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

100.00%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

Known Exploited Vulnerability (CISA KEV)

Apache HTTP Server-Side Request Forgery (SSRF)

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.

Apply updates per vendor instructions.

Remediation due: 2021-12-15

Associated with ransomware campaigns

References

Related Vulnerabilities

Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-21893High8.2100%KEV + Ransom-
CVE-2021-34473Critical9.1100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2021-26855Critical9.1100%KEV + RansomFix
CVE-2022-41040High8.8100%KEV + RansomFix
CVE-2021-22986Critical9.8100%KEV + RansomFix

Common questions

How do I fix CVE-2021-40438?

Published advisories record a fix for 14 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-40438 being actively exploited?

Yes. CVE-2021-40438 is listed in the CISA Known Exploited Vulnerabilities catalog, which means exploitation has been observed in the wild. CISA has also linked it to known ransomware campaigns. US federal agencies were required to remediate it by 2021-12-15. Treat it as a priority whatever its CVSS score says.

How severe is CVE-2021-40438?

CVE-2021-40438 has a CVSS v3 base score of 9.0, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-40438 affect?

Published advisories record a fix for httpd (Amazon), httpd-debuginfo (Amazon), httpd-devel (Amazon), httpd-filesystem (Amazon), and 10 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-40438
CVE-2021-40438 severity badge

Markdown

[![CVE-2021-40438](https://tridentstack.com/cve/badge/CVE-2021-40438.svg)](https://tridentstack.com/cve/CVE-2021-40438)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-40438"><img src="https://tridentstack.com/cve/badge/CVE-2021-40438.svg" alt="CVE-2021-40438"></a>

This vulnerability is actively exploited in the wild

TridentStack Control detects known-exploited CVEs across your Linux fleet and prioritizes their patches. 200 endpoints free forever.

Scan your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-08-06.