Improper Access Control Affecting postgresql package, versions [9.5.0,9.5.17)[9.6.0,9.6.13)[10.0,10.8)[11.0,11.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-2336084
  • published12 Jan 2022
  • disclosed30 Jul 2019
  • creditUnknown

Introduced: 30 Jul 2019

CVE-2019-10130  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade postgresql to version 9.5.17, 9.6.13, 10.8, 11.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control. 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.

References

CVSS Scores

version 3.1