PT-2020-6838 · Unknown+9 · Postgresql+8

Noah Misch

·

Published

2020-06-17

·

Updated

2026-01-30

·

CVE-2020-14349

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PostgreSQL versions prior to 10.14 PostgreSQL versions prior to 11.9 PostgreSQL versions prior to 12.4
Description The issue is related to the improper sanitization of the search path during logical replication in PostgreSQL, allowing an authenticated attacker to execute arbitrary SQL commands in the context of the user used for replication. This could potentially lead to privilege escalation and the execution of arbitrary commands.
Recommendations For versions prior to 10.14, update to version 10.14 or later to resolve the issue. For versions prior to 11.9, update to version 11.9 or later to resolve the issue. For versions prior to 12.4, update to version 12.4 or later to resolve the issue.

Fix

SQL injection

Uncontrolled Search Path Element

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2020:5620
ALT-PU-2020-2535
ALT-PU-2020-2538
ALT-PU-2020-2539
ALT-PU-2020-2540
ALT-PU-2020-2602
ALT-PU-2020-2605
ALT-PU-2020-2606
ALT-PU-2020-2607
BDU:2023-00613
BIT-POSTGRESQL-2020-14349
CESA-2020_3669
CESA-2020_5620
CLEANSTART-2026-FW42039
CLEANSTART-2026-HJ04971
CVE-2020-14349
MGASA-2020-0365
OPENSUSE-SU-2020:1228-1
OPENSUSE-SU-2020:1243-1
OPENSUSE-SU-2020:1244-1
OPENSUSE-SU-2020:1312-1
OPENSUSE-SU-2020:1326-1
OPENSUSE-SU-2020_1228-1
OPENSUSE-SU-2020_1243-1
OPENSUSE-SU-2020_1244-1
OPENSUSE-SU-2020_1312-1
OPENSUSE-SU-2020_1326-1
OPENSUSE-SU-2024:11184-1
OPENSUSE-SU-2024:11185-1
OPENSUSE-SU-2024:11186-1
RHSA-2020:3669
RHSA-2020:5110
RHSA-2020:5112
RHSA-2020:5620
RHSA-2020:5664
RHSA-2020_3669
RHSA-2020_5620
RHSA-2021:0163
RHSA-2021:0166
RHSA-2021:0988
RLSA-2020:5620
SUSE-SU-2020:2264-1
SUSE-SU-2020:2265-1
SUSE-SU-2020:2271-1
SUSE-SU-2020:2355-1
SUSE-SU-2020:3464-1
SUSE-SU-2020:3630-1
SUSE-SU-2020_2264-1
SUSE-SU-2020_2265-1
SUSE-SU-2020_2271-1
SUSE-SU-2020_2355-1
SUSE-SU-2020_3630-1
USN-4472-1

Affected Products

Alt Linux
Almalinux
Centos
Linuxmint
Postgresql
Red Hat
Rocky Linux
Suse
Ubuntu