CVE-2020-14349
JSON

7.1high

It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the searchpath during logical rep…

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
2.23% (higher than 83% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
BIT-POSTGRESQL-2020-14349

Description

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.

Affected

Product or packageVersionsReported by
PostgreSQLPostgreSQL versions before 12.4, before 11.9 and before 10.14CVE List
postgresql postgresqlfrom 10.0 before 10.14, from 11.0 before 11.9, from 12.0 before 12.4NVD
opensuse leap15.1, 15.2NVD
postgresql (Bitnami)from 10.0.0 before 10.14.0, from 11.0.0 before 11.9.0, from 12.0.0 before 12.4.0Bitnami Vulnerability Database

All scores

NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:N/AC:H/Au:S/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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.

NVD (es)

Se detectó que las versiones de PostgreSQL anteriores a 12.4, anteriores a 11.9 y anteriores a 10.14, no saneban apropiadamente la función search_path durante la replicación lógica. Un atacante autenticado podría usar este fallo en un ataque similar al CVE-2018-1058, para ejecutar un comando SQL arbitrario en el contexto del usuario usado para la replicación.

References

http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00044.htmladvisory, broken-link, mailing-list, third-party-advisory, vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00049.htmladvisory, mailing-list, third-party-advisory, vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00050.htmladvisory, mailing-list, third-party-advisory, vendor-advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1865744advisory, issue-tracking, third-party-advisory
https://security.gentoo.org/glsa/202008-13advisory, third-party-advisory, vendor-advisory
https://usn.ubuntu.com/4472-1/advisory, third-party-advisory, vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00003.htmladvisory, mailing-list, third-party-advisory, vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00008.htmladvisory, mailing-list, third-party-advisory, vendor-advisory
https://security.netapp.com/advisory/ntap-20200918-0002/advisory, third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2020-14349web

Sources

SourceRecordLicence
CVE ListCVE-2020-14349 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-14349 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2020-14349 changed 2026-09-08Apache-2.0