WaratekVRT Sign in

CVE-2023-41877 GeoServer

Affected softwareGeoServer
Severity7.2 High CVSS 3.1 2 scores
WeaknessPath traversal (CWE-22)
Published20 Mar 2024
Updated17 Jun 2026

Description

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A path traversal vulnerability in versions 2.23.4 and prior requires GeoServer Administrator with access to the admin console to misconfigure the Global Settings for log file location to an arbitrary location. The admin console GeoServer Logs page provides a preview of these contents. As this issue requires GeoServer administrators access, often representing a trusted party, the vulnerability has not received a patch as of time of publication. As a workaround, a system administrator responsible for running GeoServer can use the GEOSERVER_LOG_FILE setting to override any configuration option provided by the Global Settings page. The GEOSERVER_LOG_LOCATION parameter can be set as system property, environment variables, or servlet context parameters.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.84% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://github.com/geoserver/geoserver/security/advisories/GHSA-8g7v-vjrc-x4g5 : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

How to mitigate CVE-2023-41877

Apply the vendor's fix for GeoServer. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.2 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.2 HIGH CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H security-advisories@github.com Secondary published
CVSS 3.1 7.2 HIGH CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.geoserver:gs-main 0 none 2.23.4

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd geoserver geoserver generic ≤ 2.23.4
osv org.geoserver gs-main generic ≤ 2.23.4

References

URLTags
https://github.com/geoserver/geoserver/security/advisories/GHSA-8g7v-vjrc-x4g5 advisory
https://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#log-location WEB
https://github.com/geoserver/geoserver PACKAGE

Timeline

Published2024-03-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.