GSD-2023-25158
Vulnerability from gsd - Updated: 2023-12-13 01:20Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2023-25158",
"id": "GSD-2023-25158"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2023-25158"
],
"details": "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.",
"id": "GSD-2023-25158",
"modified": "2023-12-13T01:20:39.903747Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2023-25158",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "geotools",
"version": {
"version_data": [
{
"version_affected": "=",
"version_value": "\u003e= 28.0, \u003c 28.2"
},
{
"version_affected": "=",
"version_value": "\u003c 27.4"
}
]
}
}
]
},
"vendor_name": "geotools"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"impact": {
"cvss": [
{
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"cweId": "CWE-89",
"lang": "eng",
"value": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m",
"refsource": "MISC",
"url": "https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m"
},
{
"name": "https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b",
"refsource": "MISC",
"url": "https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b"
}
]
},
"source": {
"advisory": "GHSA-99c3-qc2q-p94m",
"discovery": "UNKNOWN"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "(,24.7),[25.0,25.7),[26.0,26.7),[27.0,27.4),[28.0,28.2)",
"affected_versions": "All versions before 24.7, all versions starting from 25.0 before 25.7, all versions starting from 26.0 before 26.7, all versions starting from 27.0 before 27.4, all versions starting from 28.0 before 28.2",
"cwe_ids": [
"CWE-1035",
"CWE-707",
"CWE-937"
],
"date": "2023-02-22",
"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.",
"fixed_versions": [
"27.4",
"28.2",
"25.7",
"26.7",
"24.7"
],
"identifier": "CVE-2023-25158",
"identifiers": [
"GHSA-99c3-qc2q-p94m",
"CVE-2023-25158"
],
"not_impacted": "All versions starting from 24.7 before 25.0, all versions starting from 25.7 before 26.0, all versions starting from 26.7 before 27.0, all versions starting from 27.4 before 28.0, all versions starting from 28.2",
"package_slug": "maven/org.geotools/gt-jdbc",
"pubdate": "2023-02-22",
"solution": "Upgrade to versions 27.4, 28.2, 25.7, 26.7, 24.7 or above.",
"title": "Improper Neutralization",
"urls": [
"https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m",
"https://nvd.nist.gov/vuln/detail/CVE-2023-25158",
"https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b",
"https://github.com/advisories/GHSA-99c3-qc2q-p94m"
],
"uuid": "72e0d43b-f768-43f4-99cc-8c54a6d6487c"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "28.2",
"versionStartIncluding": "28.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "27.4",
"versionStartIncluding": "27.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "26.7",
"versionStartIncluding": "26.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "25.7",
"versionStartIncluding": "25.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "24.7",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2023-25158"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-89"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b",
"refsource": "MISC",
"tags": [
"Patch"
],
"url": "https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b"
},
{
"name": "https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m",
"refsource": "MISC",
"tags": [
"Mitigation",
"Vendor Advisory"
],
"url": "https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-03-02T22:36Z",
"publishedDate": "2023-02-21T21:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…