CVE-2019-10130
Reported by redhat · Published July 30, 2019
A vulnerability was found in PostgreSQL versions 11.x up to excluding 11.3, 10.x up to excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17. PostgreSQL maintains column statistics for tables. Certain statistics, such as histograms and lists of most common values, contain values taken from the column. PostgreSQL does not evaluate row security policies before consulting those statistics during query planning; an attacker can exploit this to read the most common values of certain columns. Affected columns are those for which the attacker has SELECT privilege and for which, in an ordinary query, row-level security prunes the set of rows visible to the attacker.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql | Alpine | 11.3-r0, 10.8-r0, 9.6.13-r0 |
| postgresql | postgresql | 11.3, 10.8, 9.6.13, 9.5.17 |
| postgresql-9.5 | Ubuntu:16.04:LTS | 9.5.17-0ubuntu0.16.04.1 |
| postgresql-10 | Ubuntu:18.04:LTS | 10.8-0ubuntu0.18.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL Project | postgresql | 11.x up to, excluding 11.3, 10.x up to, excluding 10.8, 9.6.x up to, excluding 9.6.13 |
| alpine | postgresql | 0, 0, 0 |
| PostgreSQL Project | postgresql | 9.5.x up to, excluding 9.5.17, 10.x up to, excluding 10.8, 9.6.x up to, excluding 9.6.13 |
| alpine | postgresql14 | 0 |
| alpine | postgresql15 | 0 |
Timeline
- May 9, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 17, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-10130
vulnetix vdb fixes CVE-2019-10130
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-2019-10130/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- GLSA-202003-03 vendor-advisoryx_refsource_GENTOO
- openSUSE-SU-2020:1227 vendor-advisoryx_refsource_SUSE