CVEvulnerability
CVE-2018-16850
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2018-11-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.0 ([email protected])
- 8.0 HIGH — CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-89
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.
Affected configurations
• postgresql postgresql (>= 10.0 < 10.6)
• postgresql postgresql (>= 11.0 < 11.1)
• redhat enterprise linux 7.0
• redhat enterprise linux 7.4
• redhat enterprise linux 7.5
• redhat enterprise linux 7.6
• canonical ubuntu linux 18.04
• canonical ubuntu linux 18.10
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- http://www.securityfocus.com/bid/105923 Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850 Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24 Mitigation, Third Party Advisory
- https://usn.ubuntu.com/3818-1/ Third Party Advisory
- https://www.postgresql.org/about/news/1905/ Release Notes, Vendor Advisory
- http://www.securityfocus.com/bid/105923 Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850 Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24 Mitigation, Third Party Advisory
- https://usn.ubuntu.com/3818-1/ Third Party Advisory
- https://www.postgresql.org/about/news/1905/ Release Notes, Vendor Advisory