Paper/Archive/CVE-2021-41277

CVE-2021-41277

metabase metabase — GeoJSON URL validation can expose server files and environment variables to unauthorized users

Description · from the CVE record

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

ProductAffectedFixed inSource
metabase< 0.40.5–CNA
metabase>= 1.0.0, < 1.40.5–CNA

Scores by source

GitHub_M (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
CISA ADPSSVCExploitation: active · Automatable: yes · Technical impact: total

References

refgithub.com/metabase/metabase/security/advisories/GHSA-w73v-6p7p-fpfrrefgithub.com/metabase/metabase/commit/042a36e49574c749f944e19cf80360fd3dc322f0refcisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-41277kevcisa.gov/known-exploited-vulnerabilities-catalog