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

EPSS: 0.464 (98.7th percentile) — read the EPSS interpretation.

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.

Affected products

  • Postgresql
  • Debian Debian_linux — versions 9.0
  • N/a 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

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.