CVE-2017-18359 json
PostGIS 2.x before 2.3.3, as used with PostgreSQL, allows remote attackers to cause a denial of service via crafted ST_AsX3D function input…
published 2019-01-25 7 y ago modified 2026-06-17 4 mo ago also EUVD-2017-9478
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
PostGIS 2.x before 2.3.3, as used with PostgreSQL, allows remote attackers to cause a denial of service via crafted ST_AsX3D function input, as demonstrated by an abnormal server termination for "SELECT ST_AsX3D('LINESTRING EMPTY');" because empty geometries are mishandled.
Patch / fix
- postgis postgis 2.3.3
- postgis Debian 14, Debian 13, Debian 12 2.3.3+dfsg-1
debian advisories DEBIAN-CVE-2017-18359
- postgis Ubuntu 14.04 LTS 2.1.2+dfsg-2ubuntu0.2
- postgis Ubuntu 16.04 LTS 2.2.1+dfsg-2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2017-18359
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- librttopo Package Hub 15 SP4, openSUSE Leap 15.4 1.1.0-bp154.2.3.1
opensuse advisories openSUSE-SU-2022:10042-1
- trac.osgeo.org/postgis/changeset/15444 advisory
- trac.osgeo.org/postgis/changeset/15445 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18359 updated cvss 6.5
postgis: denial of service via crafted ST_AsX3D function input
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.05% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- trac.osgeo.org https://trac.osgeo.org/postgis/ticket/3704 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
trac.osgeo.org
/postgis/changeset/15444
patch, third-party-advisory
-
trac.osgeo.org
/postgis/changeset/15445
patch, third-party-advisory
-
trac.osgeo.org
/postgis/ticket/3704
exploit, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/01/msg00030.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/12/msg00020.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2017-18359
- NVD CVE-2017-18359
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.