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.
AI analysis not yet available
Plain-English explanation, risk summary, and remediation steps will appear here once AI analysis is complete.
No Fix Known
No patch has been released yet. Apply workarounds or mitigations where available.
| Vendor | Product | Versions | Fixed In |
|---|---|---|---|
| postgresql | postgresql | 9.5.0 - 9.5.24 | - |
| postgresql | postgresql | 9.6.0 - 9.6.20 | - |
| postgresql | postgresql |
Published
CVE disclosed publicly
Last Modified
Most recent update
Indexed to CVEInsight
Added to this platform
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
7
Affected Products
8
References
postgresql / postgresql
| 10.0 - 10.15 |
| - |
| postgresql | postgresql | 11.0 - 11.10 | - |
| postgresql | postgresql | 12.0 - 12.5 | - |
| postgresql | postgresql | 13.0 - 13.1 | - |
| debian | debian_linux | - | - |
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Exploitability
Impact