CVE-2017-18359
Postgis vulnerability
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.
Affected products
Postgis, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postgis runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- trac.osgeo.org/postgis/changeset/15444 · Patch
- trac.osgeo.org/postgis/changeset/15445 · Patch
- lists.debian.org/debian-lts-announce/2019/01/msg00030.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/12/msg00020.html · Third Party Advisory
- trac.osgeo.org/postgis/ticket/3704 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2017-18359
- cve.org/CVERecord?id=CVE-2017-18359
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.