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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-25690An out-of-bounds write flaw was found in FontForge in versio…8.8
- CVE-2020-25691A flaw was found in darkhttpd. Invalid error handling allows…7.5
- CVE-2020-25692A NULL pointer dereference was found in OpenLDAP server and …7.5
- CVE-2020-25693A flaw was found in CImg in versions prior to 2.9.3. Integer…8.1
- CVE-2020-25694A flaw was found in PostgreSQL versions before 13.1, before …8.1
- CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before …8.8
- CVE-2020-25697A privilege escalation flaw was found in the Xorg-x11-server…7
- CVE-2020-25698Users' enrollment capabilities were not being sufficiently c…7.5
- CVE-2020-25699In moodle, insufficient capability checks could lead to user…7.5
- CVE-2020-2570Vulnerability in the MySQL Client product of Oracle MySQL (c…5.9
- CVE-2020-25700In moodle, some database module web services allowed student…6.5
- CVE-2020-25701If the upload course tool in Moodle was used to delete an en…5.3
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
