Eval injection in geotools - CVE-2024-36404
Published: March 17, 2025
Vulnerability identifier: #VU105786
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-36404
CWE-ID: CWE-95
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to the application allows to evaluate ab untrusted XPath input. A remote attacker can pass specially crafted input to the application and execute arbitrary code on the system.
Affected software
geotools
GeoServer
GeoServer
How to mitigate CVE-2024-36404
Install updates from vendor's website.
geotools - addressed in versions 28.6, 29.6, 30.4, 31.2
GeoServer - update to 2.22.6
GeoServer - update to 2.22.6