CVE-2020-14349 json
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 re…
published 2020-08-24 6 y ago modified 2026-09-08 2 mo ago also BIT-postgresql-2020-14349 , EUVD-2020-6493 , JLSEC-2026-24
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami postgresql 10.14.0, 11.9.0, 12.4.0
- julia LibPQ_jll 14.1.0+0
- postgresql postgresql 10.14, 11.9, 12.4
- postgresql-10 Ubuntu 18.04 LTS 10.14-0ubuntu0.18.04.1
- postgresql-12 Ubuntu 20.04 LTS 12.4-0ubuntu0.20.04.1
ubuntu advisories UBUNTU-CVE-2020-14349
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pgaudit RHEL 8 1.4.0-4.module+el8.3.0+9042+664538f4
- postgresql RHEL 8 12.5-1.module+el8.3.0+9042+664538f4
- postgresql-test RHEL 8 12.5-1.module+el8.3.0+9042+664538f4
- postgresql-pltcl RHEL 8 12.5-1.module+el8.3.0+9042+664538f4
- postgresql-plperl RHEL 8 12.5-1.module+el8.3.0+9042+664538f4
- postgresql-server RHEL 8 12.5-1.module+el8.3.0+9042+664538f4
- postgresql-contrib RHEL 8 12.5-1.module+el8.3.0+9042+664538f4
- postgresql-upgrade RHEL 8 12.5-1.module+el8.3.0+9042+664538f4
red hat advisories RHSA-2021:0166RHSA-2021:0163RHSA-2020:5664RHSA-2020:5620RHSA-2020:3669RHSA-2021:0988
- postgresql12 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +15 more 12.5-3.9.3
- postgresql10 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +15 more 10.15-4.9.1
- postgresql10 SLE Module for Server Applications 15 SP2, SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP2 +1 more 10.14-8.19.1
- postgresql12 SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 12.4-3.11.1
- postgresql12 SLE Module for Server Applications 15 SP2, SLE Module for Basesystem 15 SP2 12.4-8.6.1
- postgresql10 SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 10.14-4.25.1
suse advisories SUSE-SU-2020:3630-1SUSE-SU-2020:3464-1SUSE-SU-2020:2355-1SUSE-SU-2020:2271-1SUSE-SU-2020:2265-1SUSE-SU-2020:2264-1
- postgresql10 openSUSE Tumbleweed 10.18-1.3
- postgresql11 openSUSE Tumbleweed 11.13-1.3
- postgresql12 openSUSE Tumbleweed 12.8-1.3
- postgresql10 openSUSE Leap 15.2 10.14-lp152.2.6.2
- postgresql10 openSUSE Leap 15.1 10.14-lp151.2.18.1
- postgresql12 openSUSE Leap 15.2 12.4-lp152.3.7.1
- postgresql12 openSUSE Leap 15.1 12.4-lp151.6.1
- postgresql12 openSUSE Leap 15.2 12.3-lp152.3.4.1
opensuse advisories openSUSE-SU-2024:11184-1openSUSE-SU-2024:11185-1openSUSE-SU-2024:11186-1openSUSE-SU-2020:1326-1openSUSE-SU-2020:1312-1openSUSE-SU-2020:1244-1
- postgres-decoderbufs AlmaLinux 8 0.10.0-2.module_el8.6.0+2760+1746ec94
- postgres-decoderbufs AlmaLinux 8 0.10.0-2.module_el8.6.0+2758+4f4474df
almalinux advisories ALSA-2020:5620
- pgaudit Rocky Linux 8 1.4.0-4.module+el8.4.0+545+ca56da2e
- postgres-decoderbufs Rocky Linux 8 0.10.0-2.module+el8.5.0+684+c3892ef9
- postgres-decoderbufs Rocky Linux 8 0.10.0-2.module+el8.4.0+424+71d47d9a
rocky linux advisories RLSA-2020:5620
- postgresql Alpine 3.10, Alpine 3.9 11.9-r0
- postgresql Alpine 3.14, Alpine 3.13, Alpine 3.12 +1 more 12.4-r0
- postgresql12 Alpine 3.18, Alpine 3.17, Alpine 3.16 +1 more 12.4-r0
- postgresql14 Alpine 3.20, Alpine 3.19, Alpine 3.18 +3 more 12.4-r0
- postgresql15 Alpine 3.20, Alpine 3.19, Alpine 3.18 +1 more 12.4-r0
alpine advisories ALPINE-CVE-2020-14349
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-14349 updated cvss 7.1
postgresql: Uncontrolled search path element in logical replication
-
Red Hat Storage 3 postgresqlaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) pgaudit 1.4.0-4.module+el8.3.0+9042+664538f4, postgresql 12.5-1.module+el8.3.0+9042+664538f4, postgresql 10.14-1.module+el8.2.0+7801+be0fed80, postgresql-test 12.5-1.module+el8.3.0+9042+664538f4, postgresql-pltcl 12.5-1.module+el8.3.0+9042+664538f4, postgresql-test 10.14-1.module+el8.2.0+7801+be0fed80, +14 morefixed: vendor fix RHSA-2020:3669
-
Red Hat Enterprise Linux AppStream E4S (v. 8.0) postgresql 10.15-1.module+el8.0.0+9155+4a85661a, postgresql-test 10.15-1.module+el8.0.0+9155+4a85661a, postgresql-pltcl 10.15-1.module+el8.0.0+9155+4a85661a, postgresql-plperl 10.15-1.module+el8.0.0+9155+4a85661a, postgresql-server 10.15-1.module+el8.0.0+9155+4a85661a, postgresql-contrib 10.15-1.module+el8.0.0+9155+4a85661a, +3 morefixed: vendor fix RHSA-2020:5664
-
Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql 10.15-1.module+el8.1.0+9154+cd474635, postgresql-test 10.15-1.module+el8.1.0+9154+cd474635, postgresql-pltcl 10.15-1.module+el8.1.0+9154+cd474635, postgresql-plperl 10.15-1.module+el8.1.0+9154+cd474635, postgresql-server 10.15-1.module+el8.1.0+9154+cd474635, postgresql-contrib 10.15-1.module+el8.1.0+9154+cd474635, +3 morefixed: vendor fix RHSA-2021:0166
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) pgaudit 1.4.0-4.module+el8.2.0+9043+1dbb5661, postgresql 12.5-1.module+el8.2.0+9043+1dbb5661, postgresql-test 12.5-1.module+el8.2.0+9043+1dbb5661, postgresql-pltcl 12.5-1.module+el8.2.0+9043+1dbb5661, postgresql-plperl 12.5-1.module+el8.2.0+9043+1dbb5661, postgresql-server 12.5-1.module+el8.2.0+9043+1dbb5661, +5 morefixed: vendor fix RHSA-2021:0163
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.14-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.14-1.el7, rh-postgresql10-postgresql-test 10.14-1.el7, +16 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.14-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.14-1.el7, rh-postgresql10-postgresql-test 10.14-1.el7, +16 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.14-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.14-1.el7, rh-postgresql10-postgresql-test 10.14-1.el7, +16 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.14-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.14-1.el7, rh-postgresql10-postgresql-test 10.14-1.el7, +16 morefixed: vendor fix RHSA-2020:5110
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 rhvm-appliance 4.4-20210310.0.el8ev Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts rhvm-appliance 4.4-20210310.0.el8evfixed: vendor fix RHSA-2021:0988
-
Red Hat build of Quarkus postgresql Red Hat Decision Manager 7 postgresql Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Enterprise Linux 8 libpq, pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, +8 morenot affected: vulnerable code not present
+6 more productsfewer
Red Hat Enterprise Linux 9 postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, postgresql-contrib, +4 more Red Hat Fuse 7 postgresql Red Hat JBoss Enterprise Application Platform 6 postgresql Red Hat JBoss Enterprise Application Platform 7 postgresql Red Hat Process Automation 7 postgresql Red Hat Software Collections rh-postgresql96-postgresql, rh-postgresql96-postgresql-libs, rh-postgresql96-postgresql-test, rh-postgresql96-postgresql-pltcl, rh-postgresql96-postgresql-plperl, rh-postgresql96-postgresql-server, +5 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.23% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:N/AC:H/Au:S/C:P/I:P/A:P |
| OSV | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | postgresql | >=10.0.0, <10.14.0 >=11.0.0, <11.9.0 >=12.0.0, <12.4.0 |
10.14.0 11.9.0 12.4.0 |
| julia | LibPQ_jll | <14.1.0+0 |
14.1.0+0 |
Affected products
- n/a PostgreSQL
Classification
- Weakness
- Technology feeds
References
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00044.html
vendor-advisory, broken-link, mailing-list, third-party-advisory, advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00049.html
vendor-advisory, mailing-list, third-party-advisory, advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00050.html
vendor-advisory, mailing-list, third-party-advisory, advisory, web
-
security.gentoo.org
/glsa/202008-13
vendor-advisory, third-party-advisory, advisory, web
-
usn.ubuntu.com
/4472-1/
vendor-advisory, third-party-advisory, advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00003.html
vendor-advisory, mailing-list, third-party-advisory, advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00008.html
vendor-advisory, mailing-list, third-party-advisory, advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=1865744
issue-tracking, third-party-advisory, advisory, web
-
security.netapp.com
/advisory/ntap-20200918-0002/
third-party-advisory, advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2020-14349
web
Sources
- CVE List CVE-2020-14349
- NVD CVE-2020-14349
- OSV BIT-postgresql-2020-14349
- OSV JLSEC-2026-24
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.