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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.022 (82.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 82.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2020-14349: held from 0.022 to 0.022.

EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000

Affected products

  • PostgreSQL
  • openSUSE Leap — versions 15.1, 15.2
  • 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.