CVE Vulnerabilities

CVE-2019-10130

Improper Access Control

Published: Jul 30, 2019 | Modified: Nov 21, 2024
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
3.1 LOW
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Affected Software

NameVendorStart VersionEnd Version
PostgresqlPostgresql9.5.0 (including)9.5.17 (excluding)
PostgresqlPostgresql9.6.0 (including)9.6.13 (excluding)
PostgresqlPostgresql10.0 (including)10.8 (excluding)
PostgresqlPostgresql11.0 (including)11.3 (excluding)
Red Hat Enterprise Linux 8RedHatpostgresql:10-8020020200825115746.4cda2c84*
Red Hat Enterprise Linux 8RedHatpostgresql:9.6-8030020201201133334.229f0a1c*
Red Hat Enterprise Linux 8.0 Update Services for SAP SolutionsRedHatpostgresql:9.6-8000020201214122017.f8e95b4e*
Red Hat Enterprise Linux 8.0 Update Services for SAP SolutionsRedHatpostgresql:10-8000020201214113918.f8e95b4e*
Red Hat Enterprise Linux 8.1 Extended Update SupportRedHatpostgresql:10-8010020201214112129.c27ad7f8*
Red Hat Enterprise Linux 8.1 Extended Update SupportRedHatpostgresql:9.6-8010020201214134447.c27ad7f8*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatpostgresql:9.6-8020020201201133334.4cda2c84*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-postgresql10-postgresql-0:10.12-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-postgresql96-postgresql-0:9.6.19-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-postgresql10-postgresql-0:10.12-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-postgresql10-postgresql-0:10.12-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-postgresql96-postgresql-0:9.6.19-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-postgresql10-postgresql-0:10.12-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-postgresql96-postgresql-0:9.6.19-1.el7*
Postgresql-10Ubuntubionic*
Postgresql-10Ubuntucosmic*
Postgresql-10Ubuntuesm-infra/bionic*
Postgresql-10Ubuntuupstream*
Postgresql-11Ubuntudisco*
Postgresql-11Ubuntuupstream*
Postgresql-9.5Ubuntuesm-infra/xenial*
Postgresql-9.5Ubuntuupstream*
Postgresql-9.5Ubuntuxenial*

Extended Description

Access control involves the use of several protection mechanisms such as:

When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses:

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References