Original 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.
Affected software
- PostgreSQL ≥ 11.0 < 11.10≥ 9.5.0 < 9.5.24≥ 12.0 < 12.5≥ 9.6.0 < 9.6.20≥ 10.0 < 10.15≥ 13.0 < 13.1 Fixed in: 11.10, 9.5.24, 12.5, 9.6.20 exact match
Details
- Published
- 2020-11-24
- Last modified
- 2024-08-05
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- CWE
- CWE-183
- EPSS (30-day exploit probability)
- 2.70% (percentile 86)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.