Vulnerability identifier: #VU48438
Vulnerability risk: Medium
CVSSv3.1:
CVE-ID:
CWE-ID:
CWE-20
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
PostgreSQL
Server applications /
Database software
Vendor: PostgreSQL Global Development Group
Description
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to the "\gset" meta-command does not distinguish variables that control psql behavior. A remote attacker can execute arbitrary code as the operating system account.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
PostgreSQL: 13.0, 11.0 - 11.9, 10.0 - 10.14, 9.6.0 - 9.6.19, 9.5.0 - 9.5.23, 12.0 - 12.4
CPE
External links
http://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/
Can this vulnerability be exploited remotely?
Is there known malware, which exploits this vulnerability?