CVE-2020-25696
Last modified
CVE-2020-25696 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 2.59% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 9.5.0, < 9.5.24 |
| Postgresql | Postgresql | >= 9.6.0, < 9.6.20 |
| 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 | 9.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1894430Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00005.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202012-07Third Party Advisory
- https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/Release Notes, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1894430Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00005.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202012-07Third Party Advisory
- https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-25696?
How severe is CVE-2020-25696?
How do I fix CVE-2020-25696?
Are you affected by CVE-2020-25696?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
