CVE-2018-16850

critical

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.

References

https://www.postgresql.org/about/news/1905/

https://usn.ubuntu.com/3818-1/

https://security.gentoo.org/glsa/201811-24

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850

https://access.redhat.com/errata/RHSA-2018:3757

http://www.securitytracker.com/id/1042144

http://www.securityfocus.com/bid/105923

Details

Source: Mitre, NVD

Published: 2018-11-13

Updated: 2023-01-19

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical