CVE-2020-25695
Last modified
CVE-2020-25695 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. EPSS estimates a 46.44% chance of exploitation in the next 30 days.
Description
A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | < 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=1894425Issue Tracking, 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://security.netapp.com/advisory/ntap-20201202-0003/Third Party Advisory
- https://www.postgresql.org/support/security/Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1894425Issue Tracking, 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://security.netapp.com/advisory/ntap-20201202-0003/Third Party Advisory
- https://www.postgresql.org/support/security/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-25695?
How severe is CVE-2020-25695?
How do I fix CVE-2020-25695?
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-2569Vulnerability in the Oracle Applications DBA component of Or…3.9
- 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-25696A flaw was found in the psql interactive terminal of Postgre…7.5
- 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
Are you affected by CVE-2020-25695?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
