CVE-2021-41277Metabase GeoJSON API Local File Inclusion Vulnerability
CVSS score
7.5
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
97.2%
97.2% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 12 Nov 2024.
US federal deadline to fix: 3 Dec 2024.
Official description
Metabase is an open source data analytics platform. In affected versions a security issue has been discovered with the custom GeoJSON map (`admin->settings->maps->custom maps->add a map`) support and potential local file inclusion (including environment variables). URLs were not validated prior to being loaded. This issue is fixed in a new maintenance release (0.40.5 and 1.40.5), and any subsequent release after that. If you’re unable to upgrade immediately, you can mitigate this by including rules in your reverse proxy or load balancer or WAF to provide a validation filter before the application.
Source: NVD · CNA: security-advisories@github.com
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 12 Nov 2024.
US federal agencies must fix it by 3 Dec 2024. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Metabase 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
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| Metabase Metabase | 0.40.0 · 0.40.1 · 0.40.2 · 0.40.3 · 0.40.4 · 1.40.0 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2021-41277 being exploited?
Yes. CISA added CVE-2021-41277 to its Known Exploited Vulnerabilities catalog on 12 Nov 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 97.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-41277?
CVE-2021-41277 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Metabase Metabase (0.40.0; 0.40.1; 0.40.2; 0.40.3; 0.40.4; 1.40.0)
Is there a patch for CVE-2021-41277?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0(Patch)
- github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr(Mitigation, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.