CVE-2020-25696 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1894430 | CVE | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html | CVE | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202012-07 | CVE | Third Party Advisory |
| https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/ | CVE | Release NotesVendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1894430 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html | [email protected] | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202012-07 | [email protected] | Third Party Advisory |
| https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/ | [email protected] | Release NotesVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-183 | Permissive List of Allowed Inputs | [email protected] |
| CWE-697 | Incorrect Comparison | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| postgresql postgresql | >= 9.5.0, < 9.5.24 >= 9.6.0, < 9.6.20 >= 10.0, < 10.15 >= 11.0, < 11.10 >= 12.0, < 12.5 >= 13.0, < 13.1 |
CPE
Remediation
| |
| debian debian linux | 9.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 15, 2020 | Reanalysis | [email protected] |
| Dec 9, 2020 | Reanalysis | [email protected] |
| Dec 7, 2020 | Initial Analysis | [email protected] |
| Dec 7, 2020 | CVE Modified | [email protected] |
| Dec 2, 2020 | CVE Modified | [email protected] |