NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-40625: Coverage REST API Server Side Request Forgery

mediumCVSS 3.1 5.5GHSA-r4hf-r8gj-jgw2

Summary The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url') with no restrict. Details The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url').

Published Jun 10, 2025

Affected packages

org.geoserver:gs-rest

Ecosystem
Maven
Affected
< 2.26.0
Fixed in
2.26.0
Check
mvn dependency:tree -Dincludes=org.geoserver:gs-rest

org.geoserver.web:gs-web-app

Ecosystem
Maven
Affected
< 2.26.0
Fixed in
2.26.0
Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url') with no restrict.

Details

The Coverage rest api /workspaces/{workspaceName}/coveragestores/{storeName}/{method}.{format} allow to upload file with a specified url (with {method} equals 'url'). But this url has not been check with URL Checks feature.

For example, should add the code below to check fileURL:

URLCheckers.confirm(fileURL)

The vulnerable code was RESTUtils.java

Impact

This vulnerability presents the opportunity for Server Side Request Forgery.

References

  • https://osgeo-org.atlassian.net/browse/GEOS-11468
  • https://osgeo-org.atlassian.net/browse/GEOS-11717

Credited to trganda, jodygarnett.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries