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, 83.1th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 3 other repositories (lekctut/sdb-hw-13-01, Live-Hack-CVE/CVE-2020-14349, pedr0alencar/vlab-metasploitable2). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- openSUSE-SU-2020:1228 (vendor-advisory, Mailing List, Third Party Advisory, Broken Link)
- openSUSE-SU-2020:1244 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:1243 (vendor-advisory, Mailing List, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- GLSA-202008-13 (vendor-advisory, Third Party Advisory)
- USN-4472-1 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:1312 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:1326 (vendor-advisory, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20200918-0002/ (Third Party Advisory)