{"id":"UBUNTU-CVE-2017-18359","details":"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.","modified":"2026-04-22T11:22:27.309144Z","published":"2019-01-25T05:29:00Z","upstream":["CVE-2017-18359"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18359"},{"type":"REPORT","url":"https://trac.osgeo.org/postgis/ticket/3704"},{"type":"REPORT","url":"https://trac.osgeo.org/postgis/changeset/15444"},{"type":"REPORT","url":"https://trac.osgeo.org/postgis/changeset/15445"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18359"}],"affected":[{"package":{"name":"postgis","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/postgis@2.1.2+dfsg-2ubuntu0.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2+dfsg-2ubuntu0.2"}]}],"versions":["1.5.3-2ubuntu1","2.1.0-4","2.1.1-1","2.1.1-2","2.1.1-3","2.1.1-4","2.1.1-5","2.1.2+dfsg-2","2.1.2+dfsg-2ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.1.2+dfsg-2ubuntu0.2","binary_name":"liblwgeom-2.1.2"},{"binary_version":"2.1.2+dfsg-2ubuntu0.2","binary_name":"libpostgis-java"},{"binary_version":"2.1.2+dfsg-2ubuntu0.2","binary_name":"postgis"},{"binary_version":"2.1.2+dfsg-2ubuntu0.2","binary_name":"postgresql-9.3-postgis-2.1"},{"binary_version":"2.1.2+dfsg-2ubuntu0.2","binary_name":"postgresql-9.3-postgis-2.1-scripts"},{"binary_version":"2.1.2+dfsg-2ubuntu0.2","binary_name":"postgresql-9.3-postgis-scripts"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18359.json"}},{"package":{"name":"postgis","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/postgis@2.2.1+dfsg-2ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1+dfsg-2ubuntu0.1"}]}],"versions":["2.1.8+dfsg-4","2.2.0+dfsg-1","2.2.0+dfsg-3","2.2.1+dfsg-1","2.2.1+dfsg-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.2.1+dfsg-2ubuntu0.1","binary_name":"liblwgeom-2.2-5"},{"binary_version":"2.2.1+dfsg-2ubuntu0.1","binary_name":"postgis"},{"binary_version":"2.2.1+dfsg-2ubuntu0.1","binary_name":"postgresql-9.5-postgis-2.2"},{"binary_version":"2.2.1+dfsg-2ubuntu0.1","binary_name":"postgresql-9.5-postgis-scripts"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18359.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}