CVE-2019-10130 Information disclosure in postgresql

Low 3.1 Published Updated

An attacker with SELECT privileges can read restricted column values via query planning statistics, bypassing row-level security policies.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-10130?

CVE-2019-10130 is a low-severity vulnerability in Opensuse Leap, published on 30 Jul 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-284

Which versions are affected by CVE-2019-10130?

It affects 2 products.

Linux distribution packages (21)
postgresql10 SUSE:Linux Enterprise Desktop 12 SP3All versions10.8-1.9.1
postgresql10-libs SUSE:Linux Enterprise Desktop 12 SP3All versions10.8-1.9.1
postgresql96 SUSE:Linux Enterprise Desktop 12 SP3All versions9.6.13-3.25.1
postgresql96-libs SUSE:Linux Enterprise Desktop 12 SP3All versions9.6.13-3.25.1
postgresql10 SUSE:Linux Enterprise Desktop 12 SP4All versions10.8-1.9.1
postgresql10-libs SUSE:Linux Enterprise Desktop 12 SP4All versions10.8-1.9.1
postgresql10 SUSE:Linux Enterprise Server 12 SP3All versions10.8-1.9.1
postgresql10-libs SUSE:Linux Enterprise Server 12 SP3All versions10.8-1.9.1
postgresql96 SUSE:Linux Enterprise Server 12 SP3All versions9.6.13-3.25.1
postgresql96-libs SUSE:Linux Enterprise Server 12 SP3All versions9.6.13-3.25.1
postgresql10 SUSE:Linux Enterprise Server 12 SP4All versions10.8-1.9.1
postgresql10-libs SUSE:Linux Enterprise Server 12 SP4All versions10.8-1.9.1
postgresql10 SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions10.8-1.9.1
postgresql10-libs SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions10.8-1.9.1
postgresql96 SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions9.6.13-3.25.1
postgresql96-libs SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions9.6.13-3.25.1
postgresql10 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions10.8-1.9.1
postgresql10-libs SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions10.8-1.9.1
postgresql10-libs SUSE:Linux Enterprise Software Development Kit 12 SP3All versions10.8-1.9.1
postgresql96-libs SUSE:Linux Enterprise Software Development Kit 12 SP3All versions9.6.13-3.25.1
postgresql10-libs SUSE:Linux Enterprise Software Development Kit 12 SP4All versions10.8-1.9.1

Products include Opensuse Leap, Postgresql Postgresql.

How do I fix CVE-2019-10130?

Upgrade to a fixed version.

Is CVE-2019-10130 being exploited?

There is no known exploitation of CVE-2019-10130 in the wild and no public exploit code.

All Opensuse Leap vulnerabilities

Sources

Also known as ALPINE-CVE-2019-10130, CLEANSTART-2026-KZ26137, DSA-4439-1, GHSA-5rxr-v694-cxfj, SUSE-SU-2019:1511-1, SUSE-SU-2019:1687-1 and 2 more.

Is CVE-2019-10130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free