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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql14 | Alpine | 10.3-r0 |
| postgresql15 | Alpine | 10.3-r0 |
| postgresql | postgresql | 10.3, 9.6.8, 9.5.12, 9.4.17, 9.3.22 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The PostgreSQL Global Development Group | postgresql | 9.3 - 10 |
| alpine | postgresql14 | 0 |
| alpine | postgresql15 | 0 |
| The PostgreSQL Global Development Group | postgresql | 9.3 |
| alpine | postgresql | 0, 0, 0 |
| arch | postgresql | 0 |
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
- x_refsource_CONFIRM
- USN-3589-1 vendor-advisoryx_refsource_UBUNTU
- 103221 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- RHSA-2018:2511 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2566 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:3816 vendor-advisoryx_refsource_REDHAT