CVEs / CVE-2021-41277
CVE-2021-41277: Metabase GeoJSON API Local File Inclusion Vulnerability
- Known exploited in the CISA KEV catalog since 12 Nov 2024
- high 7.5 CVSS 3.1 (NVD)
- EPSS 97.1% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2021-41277
Summary
Metabase contains a local file inclusion vulnerability in the custom map support in the API to read GeoJSON formatted data.
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| metabase metabase | < 0.40.5 | — |
| metabase metabase | >= 1.0.0, < 1.40.5 | — |
Exploitation
| In CISA KEV since | 12 Nov 2024 |
|---|---|
| Due date for US federal agencies | 3 Dec 2024 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NScored by NVD |
|---|---|
| Weakness | CWE-200, CWE-22 |
References
- CVE-2021-41277 on NVD
- CVE-2021-41277 in the CISA KEV catalog
- https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr (cited by CISA)
- CVE-2021-41277 on OSV
- https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0 Patch
- https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr Mitigation, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.