CVEvulnerability

CVE-2020-14349

7.1 HIGH Published 2020-08-24 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-08-24
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:N/AC:H/Au:S/C:P/I:P/A:P
Weaknesses
CWE-427, CWE-89

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 configurations

• postgresql postgresql (>= 10.0 < 10.14) • postgresql postgresql (>= 11.0 < 11.9) • postgresql postgresql (>= 12.0 < 12.4) • opensuse leap 15.1 • opensuse leap 15.2

Related

Weakness · CWE (2)

  • CWE-427 Uncontrolled Search Path Element weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References