High severity8.8NVD Advisory· Published Mar 2, 2018· Updated Jun 17, 2026
CVE-2018-1058
CVE-2018-1058
Description
A 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
35cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*range: >=9.3,<9.3.22
- (no CPE)range: >=9.3, <=10
- cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*+ 2 more
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
- osv-coords28 versionspkg:rpm/opensuse/kubectl-cnpg&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/postgresql10&distro=openSUSE%20Tumbleweedpkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3
< 1.29.2-1.1+ 27 more
- (no CPE)range: < 1.29.2-1.1
- (no CPE)range: < 10.18-1.3
- (no CPE)range: < 9.4.17-21.19.1
- (no CPE)range: < 9.4.17-0.23.16.1
- (no CPE)range: < 9.4.17-21.19.1
- (no CPE)range: < 9.4.17-21.19.1
- (no CPE)range: < 9.4.17-0.23.16.1
- (no CPE)range: < 9.4.17-21.19.1
- (no CPE)range: < 9.4.17-0.23.16.1
- (no CPE)range: < 9.4.17-0.23.16.1
- (no CPE)range: < 9.4.17-0.23.16.1
- (no CPE)range: < 9.4.17-21.19.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- (no CPE)range: < 9.6.8-3.16.1
- The PostgreSQL Global Development Group/postgresqlv5Range: 9.3 - 10
Patches
Vulnerability mechanics
References
7- www.securityfocus.com/bid/103221nvdThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2018:2511nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2566nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:3816nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
- usn.ubuntu.com/3589-1/nvdThird Party Advisory
- www.postgresql.org/about/news/1834/nvdVendor Advisory
News mentions
0No linked articles in our index yet.