CVE-2024-34696
GeoServer's Server Status shows sensitive environmental variables and Java properties
Also known as GHSA-j59v-vgcr-hxvf
Mitigation
- Upgrade org.geoserver.web:gs-web-app to one of 2.24.4, 2.25.1 (or later in the same release line).
- Upgrade org.geoserver:gs-main to one of 2.24.4, 2.25.1 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.geoserver.web:gs-web-app (>= 2.10.0, < 2.24.4)
- Projects that depend on Maven package org.geoserver:gs-main (>= 2.10.0, < 2.24.4)
- Anyone running geoserver >= 2.10.0, < 2.24.4; >= 2.25.0, < 2.25.1
Vulnerability facts
- Affected
- org.geoserver.web:gs-web-app >= 2.10.0, < 2.24.4; org.geoserver:gs-main >= 2.10.0, < 2.24.4
- Fixed in
- 2.24.4, 2.25.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.70% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- CWE
- CWE-200
- Modified
Description
GeoServer is an open source server that allows users to share and edit geospatial data. Starting in version 2.10.0 and prior to versions 2.24.4 and 2.25.1, GeoServer's Server Status page and REST API lists all environment variables and Java properties to any GeoServer user with administrative rights as part of those modules' status message. These variables/properties can also contain sensitive information, such as database passwords or API keys/tokens. Additionally, many community-developed GeoServer container images `export` other credentials from their start-up scripts as environment variables to the GeoServer (`java`) process. The precise scope of the issue depends on which container image is used and how it is configured. The `about status` API endpoint which powers the Server Status page is only available to administrators.Depending on the operating environment, administrators might have legitimate access to credentials in other ways, but this issue defeats more sophisticated controls (like break-glass access to secrets or role accounts).By default, GeoServer only allows same-origin authenticated API access. This limits the scope for a third-party attacker to use an administrator’s credentials to gain access to credentials. The researchers who found the vulnerability were unable to determine any other conditions under which the GeoServer REST API may be available more broadly. Users should update container images to use GeoServer 2.24.4 or 2.25.1 to get the bug fix. As a workaround, leave environment variables and Java system properties hidden by default. Those who provide the option to re-enable it should communicate the impact and risks so that users can make an informed choice.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.geoserver.web:gs-web-app | >= 2.10.0, < 2.24.4 | 2.24.4, 2.25.1 | osv |
| Maven org.geoserver:gs-main | >= 2.10.0, < 2.24.4 | 2.24.4, 2.25.1 | osv |
| geoserver | >= 2.10.0, < 2.24.4; >= 2.25.0, < 2.25.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-34696. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-34696.md Affected: org.geoserver.web:gs-web-app >= 2.10.0, < 2.24.4; org.geoserver:gs-main >= 2.10.0, < 2.24.4 Fixed in: 2.24.4, 2.25.1 Steps: 1. Search this machine and project for org.geoserver.web:gs-web-app (Maven), org.geoserver:gs-main (Maven), geoserver: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-34696 being exploited?
There is no confirmed exploitation: CVE-2024-34696 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-34696?
Medium: CVSS 4.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-34696?
org.geoserver.web:gs-web-app >= 2.10.0, < 2.24.4; org.geoserver:gs-main >= 2.10.0, < 2.24.4.
Is there a fix for CVE-2024-34696?
Yes. Fixed in 2.24.4, 2.25.1. Upgrade org.geoserver.web:gs-web-app to one of 2.24.4, 2.25.1 (or later in the same release line). Upgrade org.geoserver:gs-main to one of 2.24.4, 2.25.1 (or later in the same release line).
How do I check if I'm affected by CVE-2024-34696?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.