{"id":"GHSA-6v9v-3f4c-cjgx","summary":"Untrusted Search Path in PostgreSQL","details":"It was found that some PostgreSQL extensions did not use search_path safely in their installation script. An attacker with sufficient privileges could use this flaw to trick an administrator into executing a specially crafted script, during the installation or update of such extension. This affects PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23.","modified":"2023-03-14T07:01:09.283674Z","published":"2022-02-15T01:57:18Z","withdrawn":"2023-03-14T07:01:09.283674Z","database_specific":{"cwe_ids":["CWE-426"],"github_reviewed":true,"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14350"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1865746"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00028.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202008-13"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20200918-0002/"},{"type":"WEB","url":"https://usn.ubuntu.com/4472-1/"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00044.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00049.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00050.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00003.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00008.html"}],"affected":[{"package":{"name":"org.postgresql:postgresql","ecosystem":"Maven","purl":"pkg:maven/org.postgresql/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.4"}]}],"versions":["9.2-1002-jdbc4","9.2-1003-jdbc3","9.2-1003-jdbc4","9.2-1004-jdbc3","9.2-1004-jdbc4","9.2-1004-jdbc41","9.3-1100-jdbc3","9.3-1100-jdbc4","9.3-1100-jdbc41","9.3-1101-jdbc3","9.3-1101-jdbc4","9.3-1101-jdbc41","9.3-1102-jdbc3","9.3-1102-jdbc4","9.3-1102-jdbc41","9.3-1103-jdbc3","9.3-1103-jdbc4","9.3-1103-jdbc41","9.3-1104-jdbc4","9.3-1104-jdbc41","9.4-1200-jdbc4","9.4-1200-jdbc41","9.4-1201-jdbc4","9.4-1201-jdbc41","9.4-1202-jdbc4","9.4-1202-jdbc41","9.4-1202-jdbc42","9.4-1203-jdbc4","9.4-1203-jdbc41","9.4-1203-jdbc42","9.4-1204-jdbc4","9.4-1204-jdbc41","9.4-1204-jdbc42","9.4-1205-jdbc4","9.4-1205-jdbc41","9.4-1205-jdbc42","9.4-1206-jdbc4","9.4-1206-jdbc41","9.4-1206-jdbc42","9.4.1207","9.4.1207.jre6","9.4.1207.jre7","9.4.1208","9.4.1208.jre6","9.4.1208.jre7","9.4.1209","9.4.1209.jre6","9.4.1209.jre7","9.4.1210","9.4.1210.jre6","9.4.1210.jre7","9.4.1211","9.4.1211.jre6","9.4.1211.jre7","9.4.1212","9.4.1212.jre6","9.4.1212.jre7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-6v9v-3f4c-cjgx/GHSA-6v9v-3f4c-cjgx.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}