SQL injection in PostgreSQL - CVE-2020-25695
Published: November 16, 2020 / Updated: November 16, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data. A remote authenticated attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Affected software
Arch Linux
Gentoo Linux
Amazon Linux AMI
CentOS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
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 for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Ubuntu
openEuler
Fedora
postgresql (Alpine package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
postgresql (Red Hat package)
rh-postgresql10-postgresql (Red Hat package)
rh-postgresql12-postgresql (Red Hat package)
postgresql-9.5 (Ubuntu package)
postgresql-debugsource
postgresql-libs
postgresql-test-rpm-macros
postgresql-static
postgresql-debuginfo
postgresql-pltcl
postgresql-help
postgresql-plperl
postgresql-devel
postgresql-plpython3
postgresql-contrib
postgresql-test
postgresql
postgresql-server
postgresql-10 (Ubuntu package)
postgresql-12 (Ubuntu package)
Red Hat Software Collections
IBM Security Verify Access
Zoho ManageEngine OpManager
Analytics Content Hub
XtremIO X2
Dell Security Management Server
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
EMC Data Protection Advisor
EMC NetWorker Server
How to mitigate CVE-2020-25695
postgresql (Red Hat package) - update to 9.2.24-6.el7_9
rh-postgresql10-postgresql (Red Hat package) - update to 10.15-1.el7
rh-postgresql12-postgresql (Red Hat package) - update to 12.5-1.el7
Zoho ManageEngine OpManager - update to 12.5 125397
Analytics Content Hub - update to 2.3
Dell EMC Unity XT Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity VSA Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity Operating Environment (OE) - update to 5.1.2.0.5.007
XtremIO X2 - update to 6.4.1-11
postgresql-9.5 (Ubuntu package) - update to 9.5.24-0ubuntu0.16.04.1
postgresql-debugsource - update to 10.5-19
postgresql-libs - update to 10.5-19
postgresql-test-rpm-macros - update to 10.5-19
postgresql-static - update to 10.5-19
postgresql-debuginfo - update to 10.5-19
postgresql-pltcl - update to 10.5-19
postgresql-help - update to 10.5-19
postgresql-plperl - update to 10.5-19
postgresql-devel - update to 10.5-19
postgresql-plpython3 - update to 10.5-19
postgresql-contrib - update to 10.5-19
postgresql-test - update to 10.5-19
postgresql - update to 10.5-19
postgresql-server - update to 10.5-19
postgresql-10 (Ubuntu package) - update to 10.15-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) - addressed in versions 12.5-0ubuntu0.20.04.1, 12.5-0ubuntu0.20.10.1
EMC Data Protection Advisor - addressed in versions 19.4.0 B21, 19.5
EMC NetWorker Server - addressed in versions 19.6.1.3, 19.7.0.1
External References
Related Security Bulletins
- Multiple vulnerabilities in PostgreSQL
- Arch Linux update for postgresql
- SQL injection in postgresql (Alpine package)
- Red Hat Software Collections update for rh-postgresql10-postgresql
- Red Hat Software Collections update for rh-postgresql12-postgresql
- Gentoo update for PostgreSQL
- Red Hat Enterprise Linux 8 update for the postgresql:10 module
- 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
- Amazon Linux AMI update for postgresql95, postgresql96
- Red Hat Enterprise Linux 8.2 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
- Red Hat Enterprise Linux 7 update for postgresql
- Zoho ManageEngine OpManager update for PostgreSQL
- CentOS 7 update for postgresql
- CentOS 7 update for postgresql
- Amazon Linux AMI update for postgresql92
- Multiple vulnerabilities in Dell EMC Unity
- Multiple vulnerabilities in IBM Security Access Manager
- Multiple vulnerabilities in Dell NetWorker
- Multiple vulnerabilities in Dell EMC Data Protection Advisor (DPA)
- Multiple vulnerabilities in Dell Security Management
- Multiple vulnerabilities in Dell XtremIO X2
- openEuler 20.03 LTS update for postgresql
- Multiple vulnerabilities in IBM Analytics Content Hub
- 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