CVE catalog

CVE-2018-1058

ALPINE-CVE-2018-1058

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
13.10% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Alpinepostgresql3.1010.3-r0fixed
Alpinepostgresql3.1110.3-r0fixed
Alpinepostgresql3.1210.3-r0fixed
Alpinepostgresql3.1310.3-r0fixed
Alpinepostgresql3.1410.3-r0fixed
Alpinepostgresql3.49.5.12-r0fixed
Alpinepostgresql3.59.6.8-r0fixed
Alpinepostgresql3.69.6.8-r0fixed
Alpinepostgresql3.710.3-r0fixed
Alpinepostgresql3.810.3-r0fixed
Alpinepostgresql3.910.3-r0fixed
Alpinepostgresql143.1510.3-r0fixed
Alpinepostgresql143.1610.3-r0fixed
Alpinepostgresql143.1710.3-r0fixed
Alpinepostgresql143.1810.3-r0fixed
Alpinepostgresql153.1710.3-r0fixed
Alpinepostgresql153.1810.3-r0fixed
Alpinepostgresql153.1910.3-r0fixed
Alpinepostgresql153.2010.3-r0fixed
Opensusekubectl-cnpgtumbleweed1.29.2-1.1fixed
Ubuntupostgresql-9.314.049.3.1-1vulnerable
Ubuntupostgresql-9.314.049.3.2-1vulnerable
Ubuntupostgresql-9.314.049.3.2-1ubuntu1vulnerable
Ubuntupostgresql-9.314.049.3.2-1ubuntu2vulnerable
Ubuntupostgresql-9.314.049.3.3-1vulnerable
Ubuntupostgresql-9.314.049.3.3-1bzr1vulnerable
Ubuntupostgresql-9.314.049.3.3-1bzr2vulnerable
Ubuntupostgresql-9.314.049.3.4-1vulnerable
Ubuntupostgresql-9.314.049.3.5-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.314.049.3.6-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.7-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.8-0ubuntu0.4.04vulnerable
Ubuntupostgresql-9.314.049.3.9-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.10-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.11-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.12-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.13-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.14-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.15-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.16-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.17-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.18-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.314.049.3.19-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.20-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.21-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.22-0ubuntu0.14.04fixed
Ubuntupostgresql-9.516.049.5.0-1vulnerable
Ubuntupostgresql-9.516.049.5.0-2vulnerable
Ubuntupostgresql-9.516.049.5.0-3vulnerable
Ubuntupostgresql-9.516.049.5.1-1vulnerable
Ubuntupostgresql-9.516.049.5.2-1vulnerable
Ubuntupostgresql-9.516.049.5.3-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.4-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.5-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.6-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.7-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.8-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.9-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.10-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.11-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.12-0ubuntu0.16.04fixed
Ubuntupostgresql-1018.0410.1-1vulnerable
Ubuntupostgresql-1018.0410.1-2vulnerable
Ubuntupostgresql-1018.0410.2-1vulnerable
Ubuntupostgresql-1018.0410.3-1fixed
Ubuntupostgresql-9.314.049.3.1-1vulnerable
Ubuntupostgresql-9.314.049.3.2-1vulnerable
Ubuntupostgresql-9.314.049.3.2-1ubuntu1vulnerable
Ubuntupostgresql-9.314.049.3.2-1ubuntu2vulnerable
Ubuntupostgresql-9.314.049.3.3-1vulnerable
Ubuntupostgresql-9.314.049.3.3-1bzr1vulnerable
Ubuntupostgresql-9.314.049.3.3-1bzr2vulnerable
Ubuntupostgresql-9.314.049.3.4-1vulnerable
Ubuntupostgresql-9.314.049.3.5-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.314.049.3.6-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.7-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.8-0ubuntu0.4.04vulnerable
Ubuntupostgresql-9.314.049.3.9-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.10-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.11-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.12-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.13-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.14-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.15-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.16-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.17-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.18-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.314.049.3.19-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.20-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.21-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.314.049.3.22-0ubuntu0.14.04fixed
Ubuntupostgresql-9.516.049.5.0-1vulnerable
Ubuntupostgresql-9.516.049.5.0-2vulnerable
Ubuntupostgresql-9.516.049.5.0-3vulnerable
Ubuntupostgresql-9.516.049.5.1-1vulnerable
Ubuntupostgresql-9.516.049.5.2-1vulnerable
Ubuntupostgresql-9.516.049.5.3-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.4-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.5-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.6-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.7-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.8-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.516.049.5.9-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.10-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.11-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.516.049.5.12-0ubuntu0.16.04fixed
Susepostgresql94-libslinux enterprise software development kit 11 sp49.4.17-0.23.16.1fixed
Susepostgresql94linux enterprise server 11 sp49.4.17-0.23.16.1fixed
Susepostgresql94-libslinux enterprise server 11 sp49.4.17-0.23.16.1fixed
Susepostgresql94linux enterprise server for sap applications 11 sp49.4.17-0.23.16.1fixed
Susepostgresql94-libslinux enterprise server for sap applications 11 sp49.4.17-0.23.16.1fixed
Susepostgresql96linux enterprise desktop 12 sp29.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise desktop 12 sp29.6.8-3.16.1fixed
Susepostgresql96linux enterprise desktop 12 sp39.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise desktop 12 sp39.6.8-3.16.1fixed
Susepostgresql96linux enterprise server for raspberry pi 12 sp29.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise server for raspberry pi 12 sp29.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise software development kit 12 sp29.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise software development kit 12 sp39.6.8-3.16.1fixed
Susepostgresql96linux enterprise server 12 sp29.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise server 12 sp29.6.8-3.16.1fixed
Susepostgresql96linux enterprise server for sap applications 12 sp29.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise server for sap applications 12 sp29.6.8-3.16.1fixed
Susepostgresql96linux enterprise server 12 sp39.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise server 12 sp39.6.8-3.16.1fixed
Susepostgresql96linux enterprise server for sap applications 12 sp39.6.8-3.16.1fixed
Susepostgresql96-libslinux enterprise server for sap applications 12 sp39.6.8-3.16.1fixed
Susepostgresql94linux enterprise desktop 12 sp29.4.17-21.19.1fixed
Susepostgresql94linux enterprise server for raspberry pi 12 sp29.4.17-21.19.1fixed
Susepostgresql94-libslinux enterprise software development kit 12 sp29.4.17-21.19.1fixed
Susepostgresql94linux enterprise server 12 sp29.4.17-21.19.1fixed
Susepostgresql94linux enterprise server for sap applications 12 sp29.4.17-21.19.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Alpinepostgresqlapk3.1010.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.1110.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.1210.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.1310.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.1410.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.49.5.12-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.59.6.8-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.69.6.8-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.710.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.810.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresqlapk3.910.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql14apk3.1510.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql14apk3.1610.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql14apk3.1710.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql14apk3.1810.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql15apk3.1710.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql15apk3.1810.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql15apk3.1910.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Alpinepostgresql15apk3.2010.3-r0Not reportedALPINE-CVE-2018-1058Not reported
Opensusekubectl-cnpgrpmtumbleweed1.29.2-1.1Not reportedOPENSUSE-SU-2026:11167-1Not reported
Ubuntupostgresql-9.3deb14.049.3.22-0ubuntu0.14.04Not reportedUBUNTU-CVE-2018-1058Not reported
Ubuntupostgresql-9.5deb16.049.5.12-0ubuntu0.16.04Not reportedUBUNTU-CVE-2018-1058Not reported
Ubuntupostgresql-10deb18.0410.3-1Not reportedUBUNTU-CVE-2018-1058Not reported
Ubuntupostgresql-9.3deb14.049.3.22-0ubuntu0.14.04Not reportedUSN-3589-1Not reported
Ubuntupostgresql-9.5deb16.049.5.12-0ubuntu0.16.04Not reportedUSN-3589-1Not reported
Susepostgresql94-libsrpmlinux enterprise software development kit 11 sp49.4.17-0.23.16.1Not reportedSUSE-SU-2018:0755-1Not reported
Susepostgresql94rpmlinux enterprise server 11 sp49.4.17-0.23.16.1Not reportedSUSE-SU-2018:0755-1Not reported
Susepostgresql94-libsrpmlinux enterprise server 11 sp49.4.17-0.23.16.1Not reportedSUSE-SU-2018:0755-1Not reported
Susepostgresql94rpmlinux enterprise server for sap applications 11 sp49.4.17-0.23.16.1Not reportedSUSE-SU-2018:0755-1Not reported
Susepostgresql94-libsrpmlinux enterprise server for sap applications 11 sp49.4.17-0.23.16.1Not reportedSUSE-SU-2018:0755-1Not reported
Susepostgresql96rpmlinux enterprise desktop 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise desktop 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96rpmlinux enterprise desktop 12 sp39.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise desktop 12 sp39.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96rpmlinux enterprise server for raspberry pi 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise server for raspberry pi 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise software development kit 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise software development kit 12 sp39.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96rpmlinux enterprise server 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise server 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96rpmlinux enterprise server for sap applications 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise server for sap applications 12 sp29.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96rpmlinux enterprise server 12 sp39.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise server 12 sp39.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96rpmlinux enterprise server for sap applications 12 sp39.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql96-libsrpmlinux enterprise server for sap applications 12 sp39.6.8-3.16.1Not reportedSUSE-SU-2018:0756-1Not reported
Susepostgresql94rpmlinux enterprise desktop 12 sp29.4.17-21.19.1Not reportedSUSE-SU-2018:0876-1Not reported
Susepostgresql94rpmlinux enterprise server for raspberry pi 12 sp29.4.17-21.19.1Not reportedSUSE-SU-2018:0876-1Not reported
Susepostgresql94-libsrpmlinux enterprise software development kit 12 sp29.4.17-21.19.1Not reportedSUSE-SU-2018:0876-1Not reported
Susepostgresql94rpmlinux enterprise server 12 sp29.4.17-21.19.1Not reportedSUSE-SU-2018:0876-1Not reported
Susepostgresql94rpmlinux enterprise server for sap applications 12 sp29.4.17-21.19.1Not reportedSUSE-SU-2018:0876-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [kubectl-cnpg]

    Details (1)
    • 1.29.2-1.3 · noarch · tumbleweed

      Unknown · Fixed: 1.29.2-1.1

      Version impact unknown

      pypi · kubectl-cnpg · opensuse · tumbleweed

  • Source package: [kubectl-cnpg]

    Details (1)
    • 1.29.2-1.3 · noarch · tumbleweed

      Unknown · Fixed: 1.29.2-1.1

      Version impact unknown

      pypi · kubectl-cnpg · opensuse · tumbleweed

  • Source package: [kubectl-cnpg]

    Details (1)
    • 1.29.2-1.3 · noarch · tumbleweed

      Unknown · Fixed: 1.29.2-1.1

      Version impact unknown

      pypi · kubectl-cnpg · opensuse · tumbleweed

  • Source package: [kubectl-cnpg]

    Details (1)
    • 1.29.2-1.3 · x86_64 · tumbleweed

      Fixed · Fixed: 1.29.2-1.1

      pypi · kubectl-cnpg · opensuse · tumbleweed

Observed:

References