#VU48438 Input validation error in PostgreSQL - CVE-2020-25696


| Updated: 2020-11-16

Vulnerability identifier: #VU48438

Vulnerability risk: Medium

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2020-25696

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: 9.5.0 - 9.5.23, 9.6.0 - 9.6.19, 10.0 - 13.0


External links
https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability