Stack-based buffer overflow in PostgreSQL - CVE-2019-10164
Published: June 20, 2019
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing users passwords. A remote authenticated user can change his/her password to a specially crafted string, trigger stack-based buffer overflow and execute arbitrary code on the target system or crash the PostgreSQL process.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Opensuse
Fedora
postgresql (Alpine package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rh-postgresql10-postgresql (Red Hat package)
postgresql-10 (Ubuntu package)
postgresql-11 (Ubuntu package)
postgresql
libpq
Dell Security Management Server
EMC NetWorker Server
How to mitigate CVE-2019-10164
postgresql (Alpine package) - addressed in versions 10.9-r0, 11.4-r0
rh-postgresql10-postgresql (Red Hat package) - update to 10.12-2.el7
postgresql-10 (Ubuntu package) - addressed in versions 10.9-0ubuntu0.18.04.1, 10.9-0ubuntu0.18.10.1
postgresql-11 (Ubuntu package) - update to 11.4-0ubuntu0.19.04.1
postgresql - addressed in versions 10.9-1.fc29, 10-2920190712065154.6c81f848, 10-3020190712065154.a5b0195c, 11.4-1.fc30, 11-2920190717074535.6c81f848, 11-3020190717074535.a5b0195c
Dell Security Management Server - update to 11.0.1
libpq - update to 11.4-1.fc30
EMC NetWorker Server - addressed in versions 19.6.1.3, 19.7.0.1
External References
Related Security Bulletins
- Multiple vulnerabilities in PostgreSQL
- Ubuntu update for PostgreSQL
- OpenSUSE Linux update for postgresql10
- Gentoo update for PostgreSQL
- Red Hat Software Collections update for rh-postgresql10-postgresql
- Stack-based buffer overflow in postgresql (Alpine package)
- Red Hat Enterprise Linux 8 update for the postgresql:10 module
- Red Hat Enterprise Linux 8.1 update for the postgresql:10 module
- Multiple vulnerabilities in Dell NetWorker
- Multiple vulnerabilities in Dell Security Management
- Red Hat Enterprise Linux 8 update for the postgresql:10 module
- Fedora 30 update for libpq, postgresql
- Fedora 29 update for postgresql
- Fedora 29 Modular update for postgresql
- Fedora 30 Modular update for postgresql
- Fedora 30 Modular update for postgresql
- Fedora 29 Modular update for postgresql