CVE-2020-25696
Description
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.
How to fix
- postgresql postgresql9.5.24, 9.6.20, 10.15, 11.10, 12.5, 13.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| postgresql postgresql | 9.5.0 ≤ v < 9.5.24, 9.6.0 ≤ v < 9.6.20, 10.0 ≤ v < 10.15, 11.0 ≤ v < 11.10, 12.0 ≤ v < 12.5, 13.0 ≤ v < 13.1 | 9.5.24, 9.6.20, 10.15, 11.10, 12.5, 13.1 |
| debian debian_linux | 9.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.