CVE-2018-16850

Summary

CVECVE-2018-16850
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-11-13 15:29:00 UTC
Updated2023-01-19 20:11:00 UTC
Descriptionpostgresql 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.

Risk And Classification

Problem Types: CWE-89

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 18.10 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 18.10 All All All
Application Postgresql Postgresql All All All All
Application Postgresql Postgresql All All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 7.4 All All All
Operating System Redhat Enterprise Linux 7.5 All All All
Operating System Redhat Enterprise Linux 7.6 All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 7.4 All All All
Operating System Redhat Enterprise Linux 7.5 All All All
Operating System Redhat Enterprise Linux 7.6 All All All

References

ReferenceSourceLinkTags
1645937 – (CVE-2018-16850) CVE-2018-16850 postgresql: SQL injection in pg_upgrade and pg_dump, via CREATE TRIGGER ... REFERENCING CONFIRM bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
PostgreSQL CVE-2018-16850 Multiple SQL Injection Vulnerabilities BID www.securityfocus.com Third Party Advisory, VDB Entry
USN-3818-1: PostgreSQL vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
PostgreSQL: PostgreSQL 11.1, 10.6, 9.6.11, 9.5.15, 9.4.20, and 9.3.25 Released! CONFIRM www.postgresql.org Release Notes, Vendor Advisory
PostgreSQL Transition Relation Name Misquoting Lets Remote Authenticated Users Gain Elevated Privileges - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
PostgreSQL: SQL injection (GLSA 201811-24) — Gentoo security GENTOO security.gentoo.org Mitigation, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 242082 Red Hat Update for rh-postgresql10-postgresql (RHSA-2018:3757)
  • 500534 Alpine Linux Security Update for postgresql
  • 502002 Alpine Linux Security Update for postgresql14
  • 502768 Alpine Linux Security Update for postgresql15
  • 504301 Alpine Linux Security Update for postgresql14
  • 505660 Alpine Linux Security Update for postgresql15
  • 710307 Gentoo Linux PostgreSQL SQL injection Vulnerability (GLSA 201811-24)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report