{ "schema_version": "1.4.0", "id": "GHSA-h6p9-49w4-8mm8", "modified": "2022-05-13T01:34:06Z", "published": "2022-05-13T01:34:06Z", "aliases": [ "CVE-2018-16850" ], "details": "postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16850" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2018:3757" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/201811-24" }, { "type": "WEB", "url": "https://usn.ubuntu.com/3818-1" }, { "type": "WEB", "url": "https://www.postgresql.org/about/news/1905" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/105923" }, { "type": "WEB", "url": "http://www.securitytracker.com/id/1042144" } ], "database_specific": { "cwe_ids": [ "CWE-89" ], "severity": "CRITICAL", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2018-11-13T15:29:00Z" } }