CVE-2019-10128 - EDB supplied PostgreSQL inherits ACL for installation directory

First Published: 2021/03/19

Last Updated: 2022/01/01

Summary

A vulnerability was found in PostgreSQL versions 11.x prior to 11.3. The Windows installer for EnterpriseDB-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, this allows a local attacker to read arbitrary data directory files, essentially bypassing database-imposed read access limitations. In plausible non-default configurations, an attacker having both an unprivileged Windows account and an unprivileged PostgreSQL account can cause the PostgreSQL service account to execute arbitrary code.

Vulnerability details

CVE-ID: CVE-2019-10128

CVSS Base Score: 7.8

CVSS Temporal Score: Undefined

CVSS Environmental Score: Undefined

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products and versions

PostgreSQL

  • All versions up to 9.4.21
  • 9.5.0 to 9.5.16
  • 9.6.0 to 9.6.12
  • 10.0 to 10.7
  • 11.0 to 11.2

Remediation/fixes

ProductVRMFRemediation/First Fix
PostgresqlUp to 9.4.21Update to latest version (at least 9.4.22)
Postgresql9.5.0 to 9.5.16Update to latest version (at least 9.5.17)
Postgresql9.6.0 to 9.6.12Update to latest version (at least 9.6.13)
Postgresql10.0 to 10.7Update to latest version (at least 10.8)
Postgresql11.0 to 11.2Update to latest version (at least 11.3)
Update

No updates at this time

References

Acknowledgement

Source: Red Hat Inc

Change history

26 July 2023: Original Copy Published

Disclaimer

This document is provided on an "as is" basis and does not imply any kind of guarantee or warranty, including the warranties of merchantability or fitness for a particular use. Your use of the information on the document is at your own risk. EDB reserves the right to change or update this document at any time. Customers are therefore recommended to always view the latest version of this document.


Could this page be better? Report a problem or suggest an addition!