Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 10.0, < 10.6 |
| Redhat | Enterprise Linux | 7.0 |
| Canonical | Ubuntu Linux | 18.04 |
Related Weaknesses (CWE)
References
- http://www.securityfocus.com/bid/105923Third Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1042144Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/201811-24MitigationThird Party Advisory
- https://usn.ubuntu.com/3818-1/Third Party Advisory
- https://www.postgresql.org/about/news/1905/Release NotesVendor Advisory
- http://www.securityfocus.com/bid/105923Third Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1042144Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/201811-24MitigationThird Party Advisory
- https://usn.ubuntu.com/3818-1/Third Party Advisory
- https://www.postgresql.org/about/news/1905/Release NotesVendor Advisory
FAQ
What is CVE-2018-16850?
CVE-2018-16850 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 caus...
How severe is CVE-2018-16850?
CVE-2018-16850 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2018-16850?
Check the references section above for vendor advisories and patch information. Affected products include: Postgresql Postgresql, Redhat Enterprise Linux, Canonical Ubuntu Linux.