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.
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
