SQL Injection in Postgresql

CVE-2020-14349

It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication. An authenticated attacker could use this flaw in an attack similar to CVE-2018-1058, in order to execute arbitrary SQL command in the context of the user used for replication.

Vulnerability class: SQL Injection

EPSS: 0.022 (81.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.

Affected products

  • Postgresql
  • Opensuse Leap — versions 15.1, 15.2
  • N/a Postgresql — versions PostgreSQL versions before 12.4, before 11.9 and before 10.14

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-14349?
CVE-2020-14349 is a high-severity vulnerability in Postgresql, classified under SQL Injection. CVSS score: 7.1/10. Published 2020-08-24.
How severe is CVE-2020-14349?
High severity. CVSS v3 base score is 7.1 out of 10.
Is CVE-2020-14349 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.