#VU48438 Input validation error in PostgreSQL


Published: 2020-11-16 | Updated: 2020-11-16

Vulnerability identifier: #VU48438

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

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: 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


External links
http://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