10.0Critical KEV

CVE-2021-41277GeoJSON URL validation can expose server files and environment variables to unauthorized users

metabase metabase Published: (5 years ago)

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.

Weakness (CWE): CWE-200CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
metabase metabase < 0.40.5, >= 1.0.0, < 1.40.5

References and patches

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:*:*:*