GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| geotools | geotools | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Geotools | Geotools |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mqjf-5f49-2fjh | GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 4.0% (3.976% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Geotools
Geotools geotools |
|
| Vendors & Products |
Geotools
Geotools geotools |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | GeoTools is an open source Java library that provides tools for geospatial data. Starting in version 30.5 and prior to versions 33.6, 34.5, and 33.6, an SQL Injection Vulnerability is present when executing OGC Filters with PostGIS DataStore implementation: `jsonArrayContains` function; Requires PostGIS 12 or greater with a String or JSON field. For PostGIS 12 and greater `jsonArrayContains(<column>, <pointer>, <value>)` function writes `<value>` into generated SQL without escaping. Patches are available in versions 33.6, 34.5, and 33.6. No known workaround is available. To limit scope of SQL Injection the PostGIS connection pool should be configured with limited rights. | |
| Title | GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers | |
| Weaknesses | CWE-89 | |
| References |
|
|
| Metrics |
cvssV3_1
|