CVE-2021-41277: Metabase GeoJSON API Local File Inclusion Vulnerability

Published Nov 17, 2021
·
Updated

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

21 affected components
Metabase
Metabase=0.40.0
Metabase=0.40.1
Metabase=0.40.2
Metabase=0.40.3
Metabase=0.40.4
Metabase=1.40.0
Metabase=1.40.1
Metabase=1.40.2
Metabase=1.40.3
Metabase=1.40.4
Metabase=0.40.0
Metabase=0.40.1
Metabase=0.40.2
Metabase=0.40.3
Metabase=0.40.4
Metabase=1.40.0
Metabase=1.40.1
Metabase=1.40.2
Metabase=1.40.3
Metabase=1.40.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Metabase to a version that resolves this vulnerability.

    Fixed in 0.40.5
  2. Upgrade

    Upgrade Metabase to a version that resolves this vulnerability.

    Fixed in 1.40.5
  3. 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

Nov 17, 2021
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 12, 2024
Known Exploited
via CISA·12:00 AM
Nov 18, 2024
News Published
via The Register·12:31 AM
News Published
via The Register·12:34 AM

Frequently Asked Questions

1

What is CVE-2021-41277?

CVE-2021-41277 is a security vulnerability discovered in Metabase, an open source data analytics platform.

2

What is the severity of CVE-2021-41277?

The severity of CVE-2021-41277 is critical with a CVSS score of 7.5.

3

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.

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.

5

How can I fix CVE-2021-41277?

To fix CVE-2021-41277, it is recommended to upgrade Metabase to the latest version available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203