Unfiltered SQL Injection in Geotools
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 28.2, 27.4, 26.7, 25.7, 24.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
GeoTools is an open source Java library that provides tools for geospatial data. GeoTools includes support for OGC Filter expression language parsing, encoding and execution against a range of datastore. SQL Injection Vulnerabilities have been found when executing OGC Filters with JDBCDataStore implementations. Users are advised to upgrade to either version 27.4 or to 28.2 to resolve this issue. Users unable to upgrade may disable `encode functions` for PostGIS DataStores or enable `prepared statements` for JDBCDataStores as a partial mitigation.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- geotools geotools
From 28.0 · fixed in 28.2; fixed in 27.4
- org.geotools:gt-jdbcMaven
From 28.0 · fixed in 28.2
- org.geotools:gt-jdbcMaven
From 27.0 · fixed in 27.4
- org.geotools:gt-jdbcMaven
From 26.0 · fixed in 26.7
- org.geotools:gt-jdbcMaven
From 25.0 · fixed in 25.7
- org.geotools:gt-jdbcMaven
fixed in 24.7