CVE-2020-25696

published 23 Nov 2020 · updated 4 Aug 2024

A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1 before 12.5 before 11.10 before 10.15 before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

7.5HighCVSS 7.5EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=All PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24

Timeline

Every event on this vulnerability

Severity changedCVE-2020-25696·
7.5High

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-25696 severity on Zeptric[![CVE-2020-25696](https://zeptric.io/badge/cve/CVE-2020-25696.svg)](https://zeptric.io/cve/CVE-2020-25696)