{"id":"DEBIAN-CVE-2023-39417","details":"IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or \"\"). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.","modified":"2026-09-15T09:02:44.074880488Z","published":"2023-08-11T13:15:09.870Z","upstream":["CVE-2023-39417"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-39417"}],"affected":[{"package":{"name":"pgextwlist","ecosystem":"Debian:12","purl":"pkg:deb/debian/pgextwlist?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15-2","1.16-1","1.17-1","1.17-2","1.17-3","1.18-1","1.19-1","1.19-2","1.20-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-39417.json"}},{"package":{"name":"pgextwlist","ecosystem":"Debian:13","purl":"pkg:deb/debian/pgextwlist?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19-1+deb13u1"}]}],"versions":["1.19-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-39417.json"}},{"package":{"name":"pgextwlist","ecosystem":"Debian:14","purl":"pkg:deb/debian/pgextwlist?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20-1"}]}],"versions":["1.19-1","1.19-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-39417.json"}},{"package":{"name":"postgresql-15","ecosystem":"Debian:12","purl":"pkg:deb/debian/postgresql-15?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.5-0+deb12u1"}]}],"versions":["15.3-0+deb12u1","15.3-1","15.4-0+deb12u1","15.4-1","15.4-2","15.4-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2023-39417.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}