CVE-2020-14349

EUVD-2020-6493
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.
SQL Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.1 HIGH
NETWORK
HIGH
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 81%
Affected Products (NVD)
VendorProductVersion
postgresqlpostgresql
10.0 ≤
𝑥
< 10.14
postgresqlpostgresql
11.0 ≤
𝑥
< 11.9
postgresqlpostgresql
12.0 ≤
𝑥
< 12.4
opensuseleap
15.1
opensuseleap
15.2
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql-10
bionic
Fixed 10.14-0ubuntu0.18.04.1
released
focal
dne
trusty
dne
xenial
dne
postgresql-12
bionic
dne
focal
Fixed 12.4-0ubuntu0.20.04.1
released
trusty
dne
xenial
dne
postgresql-9.1
bionic
dne
focal
dne
trusty
dne
xenial
dne
postgresql-9.3
bionic
dne
focal
dne
trusty
not-affected
xenial
dne
postgresql-9.5
bionic
dne
focal
dne
trusty
dne
xenial
not-affected