CVE-2021-41277: Metabase GeoJSON API Local File Inclusion Vulnerability
Metabase contains a local file inclusion vulnerability in the custom map support in the API to read GeoJSON formatted data.
Other sources
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.
— MITRE
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Metabaseto a version that resolves this vulnerability.Fixed in 0.40.5 - Upgrade
Upgrade
Metabaseto a version that resolves this vulnerability.Fixed in 1.40.5 - Compensating control
If you’re unable to upgrade immediately, add a GeoJSON URL validation filter in your reverse proxy/load balancer/WAF to validate URLs before they are loaded by Metabase’s custom GeoJSON map support (admin->settings->maps->custom maps->add a map).
Event History
Frequently Asked Questions
What is CVE-2021-41277?
CVE-2021-41277 is a security vulnerability discovered in Metabase, an open source data analytics platform.
What is the severity of CVE-2021-41277?
The severity of CVE-2021-41277 is critical with a CVSS score of 7.5.
How does CVE-2021-41277 affect Metabase?
CVE-2021-41277 affects Metabase versions 0.40.0 to 0.40.4 and versions 1.40.0 to 1.40.4.
What is the impact of CVE-2021-41277?
CVE-2021-41277 allows potential local file inclusion and can expose sensitive information through custom GeoJSON maps in Metabase.
How can I fix CVE-2021-41277?
To fix CVE-2021-41277, it is recommended to upgrade Metabase to the latest version available.