CVE-2021-40438Apache HTTP Server-Side Request Forgery (SSRF)
CVSS score
9.0
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 1 Dec 2021.
US federal deadline to fix: 15 Dec 2021.
Ransomware
Official 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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 1 Dec 2021.
US federal agencies must fix it by 15 Dec 2021. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running resf Rocky Linux, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux For Arm 64 Eus, Red Hat Enterprise Linux For Ibm Z Systems Eus S390x, Red Hat Enterprise Linux For Power Big Endian and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| resf Rocky Linux | 8.0 |
| Red Hat Enterprise Linux | 8.0 |
| Red Hat Enterprise Linux Eus | 8.1 · 8.2 · 8.4 · 8.6 · 8.8 |
| Red Hat Enterprise Linux For Arm 64 | 8.0 |
| Red Hat Enterprise Linux For Arm 64 Eus | 8.6 · 8.8 |
| Red Hat Enterprise Linux For Ibm Z Systems | 7.0_s390x · 8.0 |
| Red Hat Enterprise Linux For Ibm Z Systems Eus | 8.1 · 8.4 · 8.8 |
| Red Hat Enterprise Linux For Ibm Z Systems Eus S390x | 8.2 |
| Red Hat Enterprise Linux For Power Big Endian | 7.0 |
| Red Hat Enterprise Linux For Power Little Endian | 7.0 · 8.0 |
| Red Hat Enterprise Linux For Power Little Endian Eus | 8.1 · 8.2 · 8.4 · 8.6 · 8.8 |
| Red Hat Enterprise Linux For Scientific Computing | 7.0 |
| Red Hat Enterprise Linux Server | 7.0 |
| Red Hat Enterprise Linux Server Aus | 7.2 · 7.3 · 7.4 · 7.6 · 7.7 · 8.2 |
| Red Hat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 7.6 · 7.7 · 8.1 · 8.2 · 8.4 · 8.6 |
| Red Hat Enterprise Linux Server Tus | 7.6 · 7.7 · 8.2 · 8.4 · 8.6 · 8.8 |
| Red Hat Enterprise Linux Server Update Services For Sap Solutions | 7.6 · 7.7 |
| Red Hat Enterprise Linux Update Services For Sap Solutions | 8.1 · 8.2 · 8.4 · 8.6 · 8.8 |
| Red Hat Enterprise Linux Workstation | 7.0 |
| Red Hat Jboss Core Services | 1.0 |
| Red Hat Software Collections | 1.0 |
| Apache Http Server | ≤ 2.4.48 |
| fedoraproject Fedora | 34 · 35 |
| Debian Debian Linux | 9.0 · 10.0 · 11.0 |
| netapp Cloud Backup | Not specified |
Weakness
- CWE-918 server-side request forgery (SSRF)
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2021-40438 being exploited?
Yes. CISA added CVE-2021-40438 to its Known Exploited Vulnerabilities catalog on 1 Dec 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-40438?
CVE-2021-40438 has a CVSS 3.1 base score of 9.0 (critical).
Which versions are affected?
Resf Rocky Linux (8.0), Red Hat Enterprise Linux (8.0), Red Hat Enterprise Linux Eus (8.1; 8.2; 8.4; 8.6; 8.8), Red Hat Enterprise Linux For Arm 64 (8.0), Red Hat Enterprise Linux For Arm 64 Eus (8.6; 8.8), Red Hat Enterprise Linux For Ibm Z Systems (7.0_s390x; 8.0)
Is there a patch for CVE-2021-40438?
The official record links to vendor advisories or patches; see “What to do” above.
References
- httpd.apache.org/security/vulnerabilities_24.html(Release Notes, Vendor Advisory)
- www.oracle.com/security-alerts/cpuapr2022.html(Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpujan2022.html(Patch, Third Party Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf(Third Party Advisory)
- lists.apache.org/thread.html/r210807d0bb55f4aa6fbe1512be6bcc4dacd64e84940429fba329967a%40%3Cusers.httpd.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r2eb200ac1340f69aa22af61ab34780c531d110437910cb9c0ece3b37%40%3Cbugs.httpd.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r3925e167d5eb1c75def3750c155d753064e1d34a143028bb32910432%40%3Cusers.httpd.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r61fdbfc26ab170f4e6492ef3bd5197c20b862ce156e9d5a54d4b899c%40%3Cusers.httpd.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r82838efc5fa6fc4c73986399c9b71573589f78b31846aff5bd9b1697%40%3Cusers.httpd.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/r82c077663f9759c7df5a6656f925b3ee4f55fcd33c889ba7cd687029%40%3Cusers.httpd.apache.org%3E(Mailing List)
- lists.apache.org/thread.html/rf6954e60b1c8e480678ce3d02f61b8a788997785652e9557a3265c00%40%3Cusers.httpd.apache.org%3E(Mailing List)
- lists.debian.org/debian-lts-announce/2021/10/msg00001.html(Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7TJOHX7RHWD/(Release Notes)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3HDQK4VP45R/(Release Notes)
- security.gentoo.org/glsa/202208-20(Third Party Advisory)
- security.netapp.com/advisory/ntap-20211008-0004/(Third Party Advisory)
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-2.4.49-VWL69sWQ(Broken Link, Third Party Advisory)
- www.debian.org/security/2021/dsa-4982(Mailing List, Third Party Advisory)
- www.tenable.com/security/tns-2021-17(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-40438(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.