CVE-2021-41277GeoJSON URL validation can expose server files and environment variables to unauthorized users
Known exploited — Metabase GeoJSON API Local File Inclusion Vulnerability
CISA confirmed this vulnerability is used in real attacks on 12.11.2024. Remediation deadline for US federal agencies: 03.12.2024.
Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr ; https://nvd.nist.gov/vuln/detail/CVE-2021-41277
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://github.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfr MitigationThird Party Advisory
- https://github.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0 Patch
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277 US Government Resource
CPE matches (NVD) (10)
cpe:2.3:a:metabase:metabase:0.40.0:-:*:*:-:*:*:*cpe:2.3:a:metabase:metabase:0.40.1:*:*:*:-:*:*:*cpe:2.3:a:metabase:metabase:0.40.2:*:*:*:-:*:*:*cpe:2.3:a:metabase:metabase:0.40.3:*:*:*:-:*:*:*cpe:2.3:a:metabase:metabase:0.40.4:*:*:*:-:*:*:*cpe:2.3:a:metabase:metabase:1.40.0:-:*:*:enterprise:*:*:*cpe:2.3:a:metabase:metabase:1.40.1:*:*:*:enterprise:*:*:*cpe:2.3:a:metabase:metabase:1.40.2:*:*:*:enterprise:*:*:*cpe:2.3:a:metabase:metabase:1.40.3:*:*:*:enterprise:*:*:*cpe:2.3:a:metabase:metabase:1.40.4:*:*:*:enterprise:*:*:*