Skip to main content
ExploitedIn CISA KEVFix available

CVE-2021-40438

Exploitation confirmed. First attested on 2021-12-01 by CISA-ADP, CISA KEV, GCVE · enisa-cnw-kev, GCVE · previdian, GCVE · shadowserver.

  • Published2021-09-16
  • WeaknessCWE-918

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-09-1615:15CVE publishedNVD
  2. 2021-12-01Added to the CISA KEV catalogCISA KEV
  3. 2021-12-01Listed as exploited by GCVEGCVE
  4. 2021-12-01Exploitation first reportedCISA KEV
  5. 2026-08-0520:03SSVC exploitation set to activeCISA-ADP

Versions per branch

NVD
Apache HTTP Server
BranchAffectedFixed in
2.4≤ 2.4.48no fix published
Redhat enterprise linux server aus
BranchAffectedFixed in
7.2= 7.2no fix published
7.3= 7.3no fix published
7.4= 7.4no fix published
7.6= 7.6no fix published
7.7= 7.7no fix published
8.2= 8.2no fix published
8.4= 8.4no fix published
8.6= 8.6no fix published
Redhat enterprise linux server for power little endian update services for sap solutions
BranchAffectedFixed in
7.6= 7.6no fix published
7.7= 7.7no fix published
8.1= 8.1no fix published
8.2= 8.2no fix published
8.4= 8.4no fix published
8.6= 8.6no fix published
8.8= 8.8no fix published

37 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Apache Software Foundation Apache HTTP Server
    Affected
    • ≥ Apache HTTP Server 2.4, ≤ 2.4.48no fix statedcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-08-14

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • apacheMageia:8all versions · fixed in 2.4.49-1.mga8
  • apache2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.4.18-2ubuntu3.17+esm3
  • apache2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.4.18-2ubuntu3.17+esm2
  • apache2Ubuntu:Pro:14.04:LTSall versions · fixed in 2.4.7-1ubuntu4.22+esm2
  • apache2Ubuntu:20.04:LTSall versions · fixed in 2.4.41-4ubuntu3.6
  • apache2Ubuntu:20.04:LTSall versions · fixed in 2.4.41-4ubuntu3.5
  • apache2Ubuntu:18.04:LTSall versions · fixed in 2.4.29-1ubuntu4.18
  • apache2Ubuntu:18.04:LTSall versions · fixed in 2.4.29-1ubuntu4.17

125 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-40438 Red Hat Product Security532 products fixed

    httpd: mod_proxy: SSRF via a crafted request uri-path containing "unix:"

  • ICSA-22-167-06 CISA2 known affected

    Siemens Apache HTTP Server

    SINEC NMS · SINEMA Server V14

  • SSA-685781 Siemens ProductCERT2 known affected

    SSA-685781: Multiple Vulnerabilities in Apache HTTP Server Affecting Siemens Products

    SINEC NMS · SINEMA Server V14

  • RHSA-2021:3856 Red Hat Product Security186 products fixed

    Red Hat Security Advisory: httpd security update

  • RHSA-2021:3836 Red Hat Product Security85 products fixed

    Red Hat Security Advisory: httpd:2.4 security update

  • RHSA-2021:3837 Red Hat Product Security80 products fixed

    Red Hat Security Advisory: httpd:2.4 security update

4 more advisories

Full record on NVD

Fix

  1. CISA’s required action: Apply updates per vendor instructions.due 2021-12-15
  2. Vendor fix Siemens ProductCERT SSA-685781 · 1 productUpdate to V1.0.3 or later version
  3. Vendor fix CISA ICSA-22-167-06 · 1 productUpdate to V1.0.3 or later version
  4. Vendor fix Red Hat Product Security RHSA-2021:3856 · 186 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon will be restarted automatically.
  5. Vendor fix Red Hat Product Security RHSA-2021:3746 · 59 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  6. Vendor fix Red Hat Product Security RHSA-2021:3745 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link for the update. You must be logged in to download the update.
  7. Workaround from the vendor Red Hat Product Security RHSA-2021:3856 · 186 productsRed 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.

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

CISA Known Exploited Vulnerability

Date added
2021-12-01
Patch due date
2021-12-15
Ransomware use
Known
Required action
Apply updates per vendor instructions.

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2021-09-16
Last modified
2026-08-06
NVD status
Analyzed
GitHub advisory
GHSA-rwxq-58vm-3v2j

Frequently asked questions

What is CVE-2021-40438?

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.

Is CVE-2021-40438 actively exploited?

Yes. CVE-2021-40438 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2021-12-15.

What is the CVSS score for CVE-2021-40438?

CVE-2021-40438 has a CVSS v3 base score of 9 (Critical severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running Apache HTTP Server? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record