Untrusted search path in PostgreSQL - CVE-2020-14350
Published: August 18, 2020
Vulnerability details
The vulnerability allows a remote user to escalate privileges within the database.
The vulnerability exists due to the way PostgreSQL handles CREATE EXTENSION statements. A remote user with permission to create objects in the new extension's schema
or a schema of a prerequisite extension can execute arbitrary SQL functions under the identity of the superuser in certain cases.
Affected software
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - 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 IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Opensuse
Ubuntu
openEuler
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)
rhvm-appliance (Red Hat package)
postgresql-9.5 (Ubuntu package)
rh-postgresql96-postgresql (Red Hat package)
postgresql-libs
postgresql-test-rpm-macros
postgresql-test
postgresql-static
postgresql-server
postgresql-pltcl
postgresql-plpython3
postgresql-plperl
postgresql-help
postgresql-devel
postgresql-debuginfo
postgresql-contrib
postgresql
postgresql-debugsource
postgresql-10 (Ubuntu package)
postgresql-12 (Ubuntu package)
rh-postgresql12-postgresql (Red Hat package)
Red Hat Software Collections
Zoho ManageEngine OpManager
Dell Security Management Server
EMC NetWorker Server
How to mitigate CVE-2020-14350
postgresql (Alpine package) - update to 12.4-r0
rh-postgresql10-postgresql (Red Hat package) - update to 10.14-1.el7
Zoho ManageEngine OpManager - update to 12.5 125397
rhvm-appliance (Red Hat package) - update to 4.4-20210310.0.el8ev
postgresql-9.5 (Ubuntu package) - update to 9.5.23-0ubuntu0.16.04.1
rh-postgresql96-postgresql (Red Hat package) - update to 9.6.19-1.el7
postgresql-libs - update to 10.5-18
postgresql-test-rpm-macros - update to 10.5-18
postgresql-test - update to 10.5-18
postgresql-static - update to 10.5-18
postgresql-server - update to 10.5-18
postgresql-pltcl - update to 10.5-18
postgresql-plpython3 - update to 10.5-18
postgresql-plperl - update to 10.5-18
postgresql-help - update to 10.5-18
postgresql-devel - update to 10.5-18
postgresql-debuginfo - update to 10.5-18
postgresql-contrib - update to 10.5-18
postgresql - update to 10.5-18
postgresql-debugsource - update to 10.5-18
postgresql-10 (Ubuntu package) - update to 10.14-0ubuntu0.18.04.1
postgresql - addressed in versions 10-3220210113115521.43bbeeef, 10-3320210113115521.601d93de, 11-3220210113151114.43bbeeef, 11-3320210114142718.601d93de, 12-3320210119180006.601d93de
Dell Security Management Server - update to 11.0.1
postgresql-12 (Ubuntu package) - update to 12.4-0ubuntu0.20.04.1
rh-postgresql12-postgresql (Red Hat package) - update to 12.4-1.el7
EMC NetWorker Server - addressed in versions 19.6.1.3, 19.7.0.1
External References
Related Security Bulletins
- OpenSUSE Linux update for postgresql, postgresql96, postgresql10, postgresql12
- OpenSUSE Linux update for postgresql96, postgresql10 and postgresql12
- Multiple vulnerabilities in PostgreSQL
- OpenSUSE Linux update for postgresql12
- OpenSUSE Linux update for postgresql12
- Gentoo update for PostgreSQL
- OpenSUSE Linux update for postgresql10
- OpenSUSE Linux update for postgresql10
- Untrusted search path in postgresql (Alpine package)
- Amazon Linux AMI update for postgresql96
- Amazon Linux AMI update for postgresql95
- Red Hat Software Collections update for rh-postgresql12-postgresql
- Red Hat Software Collections update for rh-postgresql10-postgresql
- Red Hat Enterprise Linux 8 update for the postgresql:9.6 module
- Red Hat Enterprise Linux 8 update for the postgresql:12 module
- Red Hat Enterprise Linux 8 update for the postgresql:9.6 module
- Red Hat Enterprise Linux 8 update for the postgresql:10 module
- Red Hat Enterprise Linux 8.2 update for the postgresql:12 module
- Red Hat Enterprise Linux 8.2 update for the postgresql:9.6 module
- Red Hat Enterprise Linux 8.1 update for the postgresql:10 module
- Red Hat Enterprise Linux 8.1 update for the postgresql:9.6 module
- Zoho ManageEngine OpManager update for PostgreSQL
- Multiple vulnerabilities in Dell NetWorker
- Multiple vulnerabilities in Dell Security Management
- Red Hat Software Collections update for rh-postgresql96-postgresql
- Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 update for rhvm-appliance
- openEuler 20.03 LTS update for postgresql
- Fedora 32 Modular update for postgresql
- Fedora 33 Modular update for postgresql
- Fedora 32 Modular update for postgresql
- Fedora 33 Modular update for postgresql
- Fedora 33 Modular update for postgresql
- Ubuntu update for postgresql-10
- Red Hat Enterprise Linux 8 update for the postgresql:10 module