CVE-2018-16850
CRITICALCVSS 9.8/10EPSS 5.15%
Last modified
CVE-2018-16850 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. EPSS estimates a 5.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
- http://www.securityfocus.com/bid/105923Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24Mitigation, 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/105923Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24Mitigation, Third Party Advisory
- https://usn.ubuntu.com/3818-1/Third Party Advisory
- https://www.postgresql.org/about/news/1905/Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-16850?
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.
How severe is CVE-2018-16850?
CVE-2018-16850 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 5.15% probability of exploitation in the next 30 days.
How do I fix CVE-2018-16850?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-16845nginx before versions 1.15.6, 1.14.1 has a vulnerability in …6.1
- CVE-2018-16846It was found in Ceph versions before 13.2.4 that authenticat…6.5
- CVE-2018-16847An OOB heap buffer r/w access issue was found in the NVM Exp…7.8
- CVE-2018-16848A Denial of Service (DoS) condition is possible in OpenStack…6.5
- CVE-2018-16849A flaw was found in openstack-mistral. By manipulating the S…3.1
- CVE-2018-1685IBM DB2 for Linux, UNIX and Windows (includes DB2 Connect Se…
- CVE-2018-16851Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, …6.5
- CVE-2018-16852Samba from version 4.9.0 and before version 4.9.3 is vulnera…6.5
- CVE-2018-16853Samba from version 4.7.0 has a vulnerability that allows a u…7.5
- CVE-2018-16854A flaw was found in moodle versions 3.5 to 3.5.2, 3.4 to 3.4…6.5
- CVE-2018-16855An issue has been found in PowerDNS Recursor before version …7.5
- CVE-2018-16856In a default Red Hat Openstack Platform Director installatio…5.5
Are you affected by CVE-2018-16850?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
