CVE-2017-18359
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | postgis | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | postgis | Fixed | 2.2.1+dfsg-2ubuntu0.1 | UBUNTU-CVE-2017-18359 |
| Ubuntu 14.04 | postgis | Fixed | 2.1.2+dfsg-2ubuntu0.2 | UBUNTU-CVE-2017-18359 |
| Debian 14 | postgis | Fixed | 2.3.3+dfsg-1 | DEBIAN-CVE-2017-18359 |
| Debian 13 | postgis | Fixed | 2.3.3+dfsg-1 | DEBIAN-CVE-2017-18359 |
| Debian 12 | postgis | Fixed | 2.3.3+dfsg-1 | DEBIAN-CVE-2017-18359 |
References
- https://trac.osgeo.org/postgis/changeset/15444
- https://trac.osgeo.org/postgis/changeset/15445
- https://lists.debian.org/debian-lts-announce/2019/01/msg00030.html
- https://trac.osgeo.org/postgis/ticket/3704
- https://lists.debian.org/debian-lts-announce/2021/12/msg00020.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.