CVE-2018-1058

Summary

CVECVE-2018-1058
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-03-02 15:29:00 UTC
Updated2023-01-19 20:11:00 UTC
DescriptionA flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.

Risk And Classification

Problem Types: NVD-CWE-noinfo

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Application Postgresql Postgresql All All All All
Application Postgresql Postgresql All All All All
Application Redhat Cloudforms 4.6 All All All
Application Redhat Cloudforms 4.6 All All All

References

ReferenceSourceLinkTags
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
USN-3589-1: PostgreSQL vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
PostgreSQL CVE-2018-1058 Remote Code Execution Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
1547044 – (CVE-2018-1058) CVE-2018-1058 postgresql: Uncontrolled search path element in pg_dump and other client applications CONFIRM bugzilla.redhat.com Issue Tracking, Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
PostgreSQL: PostgreSQL 10.3, 9.6.8, 9.5.12, 9.4.17, and 9.3.22 released! CONFIRM www.postgresql.org Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500531 Alpine Linux Security Update for postgresql
  • 501999 Alpine Linux Security Update for postgresql14
  • 502765 Alpine Linux Security Update for postgresql15
  • 504298 Alpine Linux Security Update for postgresql14
  • 505657 Alpine Linux Security Update for postgresql15

© 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