Vulnerabilities in pkg:maven/org.geoserver.extension/gs-wps-core

PACKAGE
Advisory Identifier: GHSA-gr67-pwcv-76gf
Advisory Summary

CVE-2025-30145 is a HIGH (CVSS 7.5) geoserver infinite loop vulnerability vulnerability (CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')) affecting Gs web app libraries in the Maven ecosystem. The issue involves geoserver infinite loop vulnerability in jiffle process. Remediation is available by upgrading affected packages to version 2.26.3, 2.25.7.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.geoserver.extension/gs-wps-core

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.geoserver.extension/gs-wps-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-gr67-pwcv-76gf CVE-2025-30145 HIGH GeoServer Infinite Loop Vulnerability in Jiffle process
GHSA-5pr3-m5hm-9956 CVE-2023-43795 HIGH WPS Server Side Request Forgery vulnerability

CVE-2025-30145 at a Glance

CVE Identifier CVE-2025-30145
GHSA Identifier GHSA-gr67-pwcv-76gf
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Product Gs web app
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-30145

To remediate this vulnerability, upgrade all affected Gs web app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.geoserver.web:gs-web-app fixed: 2.26.3
<dependency>
    <groupId>org.geoserver.web</groupId>
    <artifactId>gs-web-app</artifactId>
    <version>2.26.3</version>
</dependency>
org.geoserver:gs-wms fixed: 2.26.3
<dependency>
    <groupId>org.geoserver</groupId>
    <artifactId>gs-wms</artifactId>
    <version>2.26.3</version>
</dependency>
org.geoserver.extension:gs-wps-core fixed: 2.26.3
<dependency>
    <groupId>org.geoserver.extension</groupId>
    <artifactId>gs-wps-core</artifactId>
    <version>2.26.3</version>
</dependency>
org.geoserver.web:gs-web-app fixed: 2.25.7
<dependency>
    <groupId>org.geoserver.web</groupId>
    <artifactId>gs-web-app</artifactId>
    <version>2.25.7</version>
</dependency>
org.geoserver:gs-wms fixed: 2.25.7
<dependency>
    <groupId>org.geoserver</groupId>
    <artifactId>gs-wms</artifactId>
    <version>2.25.7</version>
</dependency>
org.geoserver.extension:gs-wps-core fixed: 2.25.7
<dependency>
    <groupId>org.geoserver.extension</groupId>
    <artifactId>gs-wps-core</artifactId>
    <version>2.25.7</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.geoserver.web

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-30145, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.geoserver.web

Analyze the terminal output to locate any version of Gs web app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.26.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.geoserver.web command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop'), where the product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. In Gs web app, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Malicious Jiffle scripts can be executed by GeoServer, either as a rendering transformation in WMS dynamic styles or as a WPS process, that can enter an infinite loop to trigger denial of service. ### Details The Jiffle language supports multiple loop constructs that will cause its code block to be continuously executed until a certain condition is met. The Jiffle runtime should be updated to throw an exception if the script exceeds a certain number of loop iterations. ### Impact This vulnerability allows attackers to conduct denial-of-service attacks. ### Mitigation This vulnerability can be mitigated by disabling WMS dynamic styling (see [WMS Settings](https://docs.geoserver.org/latest/en/user/services/wms/webadmin.html#disabling-usage-of-dynamic-styling-in-getmap-getfeatureinfo-and-getlegendgraphic-requests)). If the WPS extension is installed, the Jiffle process must also be disabled to mitigate this vulnerability (see [WPS Settings](https://docs.geoserver.org/latest/en/user/services/wps/security.html#input-limits)) ### References https://github.com/geosolutions-it/jai-ext/pull/307 https://osgeo-org.atlassian.net/browse/GEOS-11778

CVE-2025-30145 Affected Gs web app Versions

6 component(s)
Fixed Versions:
2.26.32.25.7
Product / Package Ecosystem Affected Versions Fixed Version
org.geoserver.web:gs-web-app
Maven
≥ 2.26.0
< 2.26.3
2.26.3
org.geoserver:gs-wms
Maven
≥ 2.26.0
< 2.26.3
2.26.3
org.geoserver.extension:gs-wps-core
Maven
≥ 2.26.0
< 2.26.3
2.26.3
org.geoserver.web:gs-web-app
Maven
< 2.25.7
2.25.7
org.geoserver:gs-wms
Maven
< 2.25.7
2.25.7
org.geoserver.extension:gs-wps-core
Maven
< 2.25.7
2.25.7

References

Frequently Asked Questions

What is CVE-2025-30145?
CVE-2025-30145 is a security vulnerability in Gs web app involving GeoServer Infinite Loop Vulnerability in Jiffle process under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop').
Which Gs web app versions are affected?
Affected versions include releases prior to 2.26.3, 2.25.7 across affected packages: org.geoserver.web:gs-web-app, org.geoserver:gs-wms, org.geoserver.extension:gs-wps-core.
What version fixes CVE-2025-30145?
Upgrading to 2.26.3, 2.25.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is gs-web-app affected?
Yes, org.geoserver.web:gs-web-app is affected in releases prior to 2.26.3, 2.25.7. Upgrade your dependency to 2.26.3, 2.25.7 or later.
Is gs-wms affected?
Yes, org.geoserver:gs-wms is affected in releases prior to 2.26.3, 2.25.7. Upgrade your dependency to 2.26.3, 2.25.7 or later.
What is the CVSS score of CVE-2025-30145?
CVE-2025-30145 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-30145?
CVE-2025-30145 is classified under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') (The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.).
How can I check Maven dependencies for CVE-2025-30145?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.geoserver.web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gr67-pwcv-76gf",
  "modified" : "2025-06-10T19:44:31Z",
  "published" : "2025-06-10T19:44:31Z",
  "aliases" : [ "CVE-2025-30145" ],
  "summary" : "GeoServer Infinite Loop Vulnerability in Jiffle process",
  "details" : "### Summary\nMalicious Jiffle scripts can be executed by GeoServer, either as a rendering transformation in WMS dynamic styles or as a WPS process, that can enter an infinite loop to trigger denial of service.\n\n### Details\nThe Jiffle language supports multiple loop constructs that will cause its code block to be continuously executed until a certain condition is met. The Jiffle runtime should be updated to throw an exception if the script exceeds a certain number of loop iterations.\n\n### Impact\nThis vulnerability allows attackers to conduct denial-of-service attacks.\n\n### Mitigation\nThis vulnerability can be mitigated by disabling WMS dynamic styling (see [WMS Settings](https://docs.geoserver.org/latest/en/user/services/wms/webadmin.html#disabling-usage-of-dynamic-styling-in-getmap-getfeatureinfo-and-getlegendgraphic-requests)).\nIf the WPS extension is installed, the Jiffle process must also be disabled to mitigate this vulnerability (see [WPS Settings](https://docs.geoserver.org/latest/en/user/services/wps/security.html#input-limits))\n\n### References\nhttps://github.com/geosolutions-it/jai-ext/pull/307\nhttps://osgeo-org.atlassian.net/browse/GEOS-11778",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver.web:gs-web-app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.26.0"
      }, {
        "fixed" : "2.26.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.26.2"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver:gs-wms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.26.0"
      }, {
        "fixed" : "2.26.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.26.2"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver.extension:gs-wps-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.26.0"
      }, {
        "fixed" : "2.26.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.26.2"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver.web:gs-web-app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.25.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.25.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver:gs-wms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.25.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.25.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.geoserver.extension:gs-wps-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.25.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.25.6"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/geoserver/geoserver/security/advisories/GHSA-gr67-pwcv-76gf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30145"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/geosolutions-it/jai-ext/pull/307"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/geoserver/geoserver"
  }, {
    "type" : "WEB",
    "url" : "https://osgeo-org.atlassian.net/browse/GEOS-11778"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-835" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-10T19:44:31Z",
    "nvd_published_at" : "2025-06-10T15:15:24Z"
  }
}