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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (19th 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-2336090
  • published12 Jan 2022
  • disclosed19 Mar 2021
  • creditUnknown

Introduced: 19 Mar 2021

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

How to fix?

Upgrade postgresql to version 9.4.22, 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 prior to 11.3. The Windows installer for BigSQL-supplied PostgreSQL does not lock down the ACL of the binary installation directory or the ACL of the data directory; it keeps the inherited ACL. In the default configuration, an attacker having both an unprivileged Windows account and an unprivileged PostgreSQL account can cause the PostgreSQL service account to execute arbitrary code. An attacker having only the unprivileged Windows account can read arbitrary data directory files, essentially bypassing database-imposed read access limitations. An attacker having only the unprivileged Windows account can also delete certain data directory files.

References

CVSS Scores

version 3.1