Vulnerability database / CVE-2018-1058
CVE-2018-1058
HIGH 8.8 CVSS 3.1 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.
Published 2 Mar 2018
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-20 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.5
AV:N/AC:L/Au:S/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.3, < 9.3.22
9.3.22 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.4, < 9.4.17
9.4.17 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.5, < 9.5.12
9.5.12 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.6, < 9.6.8
9.6.8 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 10.0, < 10.3
10.3 NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
= 17.10
NVD
redhat
cloudformscpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:*
= 4.6
References
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 2 Mar 2018)