> CVE-2023-25158 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2023-02-21 21:15
MODIFIED
2024-11-21 07:49
CVSS_SCORE V3
9.8
EPSS (Prob. Exploit)
1.10%
Top 34.3%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-10 OSV 🔗 2026-11-15

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

Geotools - Geotools
< 24.7
Geotools - Geotools
>= 25.0 < 25.7
Geotools - Geotools
>= 26.0 < 26.7
Geotools - Geotools
>= 27.0 < 27.4
Geotools - Geotools
>= 28.0 < 28.2

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-99c3-qc2q-p94m CRITICAL

GeoTools OGC Filter SQL Injection Vulnerabilities

AFFECTED PACKAGES:
MAVEN / org.geotools:gt-jdbc
< 24.7
Fixed in: 24.7
MAVEN / org.geotools:gt-jdbc
>= 25.0, < 25.7
Fixed in: 25.7
MAVEN / org.geotools:gt-jdbc
>= 26.0, < 26.7
Fixed in: 26.7
MAVEN / org.geotools:gt-jdbc
>= 27.0, < 27.4
Fixed in: 27.4
MAVEN / org.geotools:gt-jdbc
>= 28.0, < 28.2
Fixed in: 28.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Unfiltered SQL Injection in Geotools

AFFECTED PACKAGES:
Unknown / Unknown
3 versions affected
ALIASES:
GHSA-99c3-qc2q-p94m

> HISTORIQUE DES MODIFICATIONS

Première apparition
21/02/2023 21:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:39
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME