VDB

CVE-2018-1058

CVE-2018-1058 PUBLISHED

Reported by redhat · Published March 2, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresql14Alpine10.3-r0
postgresql15Alpine10.3-r0
postgresqlpostgresql10.3, 9.6.8, 9.5.12, 9.4.17, 9.3.22

Affected products

VendorProductVersions
The PostgreSQL Global Development Grouppostgresql9.3 - 10
alpinepostgresql140
alpinepostgresql150
The PostgreSQL Global Development Grouppostgresql9.3
alpinepostgresql0, 0, 0
archpostgresql0

Timeline

  • Feb 28, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (5 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-1058
vulnetix vdb fixes CVE-2018-1058

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1058/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›