Skip to content
Heist/ feed
Back to feed
Medium

Metabase's GeoJSON validation doesn't prevent redirects to blocked URLs

Type: advisorySources: OSV

Metabase is data visualization software. Prior to versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9, custom GeoJSON map URL address would follow redirects to addresses that were otherwise disallowed, like link-local or private-network. This issue is patched in versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9. Metabase no longer follow redirects on GeoJSON map URLs. An environment variable `MB_CUSTOM_GEOJSON_ENABLED` was also added to disable custom GeoJSON completely (`true` by default).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-39359
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:26 UTC · Revision 1

Source evidence

Metabase's GeoJSON validation doesn't prevent redirects to blocked URLs

core-osv · Original source

Published 26 Oct 2022, 00:00 UTC

Metabase is data visualization software. Prior to versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9, custom GeoJSON map URL address would follow redirects to addresses that were otherwise disallowed, like link-local or private-network. This issue is patched in versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9. Metabase no longer follow redirects on GeoJSON map URLs. An environment variable `MB_CUSTOM_GEOJSON_ENABLED` was also added to disable custom GeoJSON completely (`true` by default).

osv:CVE-2022-39359
Complete source record
{
  "id": "178a9d671dabe1414fef14d4b723d0f999c420c64a32a63a270fc81ab91530d8",
  "url": "https://osv.dev/vulnerability/CVE-2022-39359",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Metabase's GeoJSON validation doesn't prevent redirects to blocked URLs",
    "summary": "Metabase is data visualization software. Prior to versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9, custom GeoJSON map URL address would follow redirects to addresses that were otherwise disallowed, like link-local or private-network. This issue is patched in versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9. Metabase no longer follow redirects on GeoJSON map URLs. An environment variable `MB_CUSTOM_GEOJSON_ENABLED` was also added to disable custom GeoJSON completely (`true` by default).",
    "evidence": "osv:CVE-2022-39359",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-39359",
      "aliases": [
        "CVE-2022-39359",
        "GHSA-w5j7-4mgm-77f4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/metabase/metabase",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c529fe2f7a6be48354fedd8f36c940b787bafa2d"
                },
                {
                  "fixed": "8dec3afd342cd843f151eef34a358ae5f8e551d0"
                },
                {
                  "introduced": "de1264e1b2c3516181a3e115803abe32b74a1b7b"
                },
                {
                  "fixed": "3a05e6289b7ba09c2c687bac95e176043ea35362"
                },
                {
                  "introduced": "ee686fcfe5a006e228090a150365d4495bbb549c"
                },
                {
                  "fixed": "053b484db79f4d4b6f29536618a77c577f6705d9"
                },
                {
                  "introduced": "d3700f5368dc0b0c51b42adc293c6458766c948b"
                },
                {
                  "fixed": "29fab4d4a06e77e68e227690636986534ba83275"
                },
                {
                  "fixed": "057e2d67fcbeb6b48db68b697e022243e3a5771e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.41.0"
                      },
                      {
                        "fixed": "0.41.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.41.0"
                      },
                      {
                        "fixed": "1.41.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.42.0"
                      },
                      {
                        "fixed": "0.42.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.42.0"
                      },
                      {
                        "fixed": "1.42.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.43.0"
                      },
                      {
                        "fixed": "0.43.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.43.0"
                      },
                      {
                        "fixed": "1.43.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.44.0"
                      },
                      {
                        "fixed": "0.44.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.44.0"
                      },
                      {
                        "fixed": "1.44.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "057e2d67fcbeb6b48db68b697e022243e3a5771e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.41.8",
            "v0.41.8",
            "v1.42.5",
            "v0.42.5",
            "v1.43.6",
            "v0.43.6",
            "v1.44.4",
            "v0.44.4",
            "v1.44.3",
            "v0.44.3",
            "v1.42.4.1",
            "v0.42.4.1",
            "v1.41.7",
            "v0.41.7",
            "v1.44.2",
            "v0.44.2",
            "v1.44.1",
            "v0.44.1",
            "v1.43.5",
            "v0.43.5",
            "v1.44.0",
            "v0.44.0",
            "v1.43.4.2",
            "v0.43.4.2",
            "v1.43.4.1",
            "v0.43.4.1",
            "v1.43.4",
            "v0.43.4",
            "v1.43.3",
            "v0.43.3",
            "v1.43.2",
            "v0.43.2",
            "v1.43.1",
            "v0.43.1",
            "v1.43.0",
            "v0.43.0",
            "v1.42.4",
            "v0.42.4",
            "v1.41.6",
            "v0.41.6",
            "v1.42.3",
            "v0.42.3",
            "v1.42.2",
            "v0.42.2",
            "v1.42.1",
            "v0.42.1",
            "v1.42.0",
            "v0.42.0",
            "v1.41.5",
            "v0.41.5",
            "v1.41.3.1",
            "v0.41.3.1",
            "v1.41.3",
            "v0.41.3",
            "v1.41.2",
            "v0.41.2",
            "v0.41.1",
            "v1.41.1",
            "v1.41.0",
            "v0.41.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39359.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.593700354Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39359.json",
        "https://github.com/metabase/metabase/security/advisories/GHSA-w5j7-4mgm-77f4",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-39359",
        "https://github.com/metabase/metabase/commit/057e2d67fcbeb6b48db68b697e022243e3a5771e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39359.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39359",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504681,
  "published_at": "2022-10-26T00:00:00+00:00"
}