Vulnerabilities · 2018 · Postgresql
CVE-2018-16850
Postgresql vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Postgresql, Enterprise Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postgresql 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
- www.postgresql.org/about/news/1905/ · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850 · Patch
- security.gentoo.org/glsa/201811-24 · Mitigation
- www.securityfocus.com/bid/105923 · Third Party Advisory
- www.securitytracker.com/id/1042144 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3757 · Third Party Advisory
- usn.ubuntu.com/3818-1/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-16850
- cve.org/CVERecord?id=CVE-2018-16850
More vulnerabilities in Postgresql products
CVE-2025-49146CVE-2024-10979CVE-2024-10978CVE-2024-10977CVE-2024-10976CVE-2024-7348CVE-2024-4317CVE-2024-1597All 168
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.