Skip to content
Heist/ feed
Back to feed
High

Improper Input Validation in GeoServer

Type: advisorySources: OSV

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. The same can happen while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism. In order to perform any of the above changes, the attack needs to have obtained admin rights and use either the GeoServer GUI, or its REST API. The lookups are going to be restricted in GeoServer 2.21.0, 2.20.4, 1.19.6. Users unable to upgrade should restrict access to the `geoserver/web` and `geoserver/rest` via a firewall and ensure that the GeoWebCache is not remotely accessible.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-24847
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:10 UTC · Revision 1

Source evidence

Improper Input Validation in GeoServer

core-osv · Original source

Published 13 Apr 2022, 21:20 UTC

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. The same can happen while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism. In order to perform any of the above changes, the attack needs to have obtained admin rights and use either the GeoServer GUI, or its REST API. The lookups are going to be restricted in GeoServer 2.21.0, 2.20.4, 1.19.6. Users unable to upgrade should restrict access to the `geoserver/web` and `geoserver/rest` via a firewall and ensure that the GeoWebCache is not remotely accessible.

osv:CVE-2022-24847
Complete source record
{
  "id": "c67fa624de946cd345acc77ecf7f7be58db52255801b667f82649888a748345d",
  "url": "https://osv.dev/vulnerability/CVE-2022-24847",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Input Validation in GeoServer",
    "summary": "GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. The same can happen while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism. In order to perform any of the above changes, the attack needs to have obtained admin rights and use either the GeoServer GUI, or its REST API. The lookups are going to be restricted in GeoServer 2.21.0, 2.20.4, 1.19.6. Users unable to upgrade should restrict access to the `geoserver/web` and `geoserver/rest` via a firewall and ensure that the GeoWebCache is not remotely accessible.",
    "evidence": "osv:CVE-2022-24847",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-24847",
      "aliases": [
        "CVE-2022-24847",
        "GHSA-4pm3-f52j-8ggh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/geoserver/geoserver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "bbb96d10695823d29eb4237c2bdc688caa3c6245"
                },
                {
                  "introduced": "d4cfef6233532aebdccf05a719c637df3ca9bc73"
                },
                {
                  "fixed": "d600c924f067588f1a4b71ac43bb50ca48a4b053"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.19.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.20.0"
                      },
                      {
                        "fixed": "2.20.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.11-beta"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24847.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.332357761Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24847.json",
        "https://github.com/geoserver/geoserver/security/advisories/GHSA-4pm3-f52j-8ggh",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-24847"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24847.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-24847",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508924,
  "published_at": "2022-04-13T21:20:12+00:00"
}