CVE-2020-14349
publishedpostgresql: Uncontrolled search path element in logical replication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQLPostgreSQL versions before 12.4, before 11.9 and before 10.14 | Affected | Not stated | redhat |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2020:5620 |
| Alpine Linux | v3.10 | postgresql | Fixed | 11.9-r0 | Package fix record |
| Oracle Linux | 7 | rh-postgresql10-postgresqlx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlaarch64 | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2020:5620 |
| Alpine Linux | v3.11 | postgresql | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.12 | postgresql | Fixed | 12.4-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | postgresql | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql12 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql12 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql12 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql12 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 12.4-r0 | Package fix record |
| Alpine Linux | v3.9 | postgresql | Fixed | 11.9-r0 | Package fix record |
| Oracle Linux | 7 | rh-postgresql10-postgresql-contribx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-contrib-syspathsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-develx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-docsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-libsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-plperlx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-plpythonx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-pltclx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-serverx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-server-syspathsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-staticx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-syspathsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-testx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 8 | pgauditaarch64 · postgresql · 12b | Advisory build | 0:1.4.0-4.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | pgauditx86_64 · postgresql · 12b | Advisory build | 0:1.4.0-4.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgres-decoderbufsaarch64 · postgresql · 12b | Advisory build | 0:0.10.0-2.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgres-decoderbufsx86_64 · postgresql · 12b | Advisory build | 0:0.10.0-2.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-docsaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-docsaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-docsx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-docsx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-plperlaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-plperlaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-plperlx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-plperlx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-plpython3aarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-plpython3aarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-plpython3x86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-plpython3x86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-pltclaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-pltclaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-pltclx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-pltclx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-serveraarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-serveraarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-serverx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-serverx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-server-develaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-server-develaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-server-develx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-server-develx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-staticaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-staticaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-staticx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-staticx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-testaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-testaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-testx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-testx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-test-rpm-macrosaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-test-rpm-macrosaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-test-rpm-macrosx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-test-rpm-macrosx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-upgradeaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-upgradeaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-upgradex86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-upgradex86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-upgrade-develaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-upgrade-develaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-upgrade-develx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-upgrade-develx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlppc64le | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqls390x | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlsrc | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlx86_64 | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contribaarch64 | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contribppc64le | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contribs390x | Advisory build | 10.14-1.el7 | RHSA-2020:5110 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | PostgreSQL versions before 12.4, before 11.9 and before 10.14 (affected) | redhat · cna |
Weaknesses
1- Improper Input Validation
References
9- openSUSE-SU-2020:1228 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00044.html
- openSUSE-SU-2020:1244 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00049.html
- openSUSE-SU-2020:1243 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00050.html
- openSUSE-SU-2020:1312 http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00003.html
- openSUSE-SU-2020:1326 http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00008.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1865744
- GLSA-202008-13 https://security.gentoo.org/glsa/202008-13
- https://security.netapp.com/advisory/ntap-20200918-0002/
- USN-4472-1 https://usn.ubuntu.com/4472-1/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9c136851df0480bfab285a0713f031aa82544ac299165e72e6004f2ba2e1fd8b
- Ingested
- 23 Sep 2026, 07:48:40 UTC
- Source record
- Official CVE record