SQL Injection in PostgreSQL
CVE-2020-25695
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.464 (98.8th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 99th percentile — 98.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.464 · newest: 0.464 · change: 0.000
Affected products
- PostgreSQL
- Debian Linux — versions 9.0
- PostgreSQL — versions All PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.postgresql.org/support/security/ (Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20201202-0003/ (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/12/msg00005.html (mailing-list, Mailing List, Third Party Advisory)
- security.gentoo.org/glsa/202012-07 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-25695?
- CVE-2020-25695 is a high-severity vulnerability in PostgreSQL, classified under SQL Injection. CVSS score: 8.8/10. Published 2020-11-16.
- How severe is CVE-2020-25695?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2020-25695 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.