Untrusted search path in PostgreSQL
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 10 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-426.
Summary
It was found that some PostgreSQL extensions did not use search_path safely in their installation script. An attacker with sufficient privileges could use this flaw to trick an administrator into executing a specially crafted script, during the installation or update of such extension. This affects PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | PostgreSQL | PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23 | — | No fix listed | CNA |
- PostgreSQL Vendor— Affected PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23 Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 9.5 to before 9.5.23; 9.6 to before 9.6.19; 10.0 to before 10.14; 11.0 to before 11.9; 12.0 to before 12.4 | Vulnerable | PostgreSQL |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* | 15.2 | Vulnerable | openSUSE |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* | 20.04 | Vulnerable | Canonical |
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* Versions 9.5 to before 9.5.23; 9.6 to before 9.6.19; 10.0 to before 10.14; 11.0 to before 11.9; 12.0 to before 12.4 Vulnerable ·PostgreSQL
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* Versions 15.2 Vulnerable ·openSUSE
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Versions 20.04 Vulnerable ·Canonical
Remediation
Red Hat 13 advisories
- RHSA-2021:0988 Released 2021-03-25 · Red Hat rating Moderaterhvm-appliance security, bug fix, and enhancement update
- Red Hat Virtualization 4 Hypervisor for RHEL 8 rhvm-appliance-2:4.4-20210310.0.el8ev
- Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts rhvm-appliance-2:4.4-20210310.0.el8ev
- RHSA-2021:0167 Released 2021-01-18 · Red Hat rating Importantpostgresql:9.6 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql-9.6.20-1.module+el8.1.0+9156+8ff1384f.aarch64::postgresql:9.6, postgresql-9.6.20-1.module+el8.1.0+9156+8ff1384f.ppc64le::postgresql:9.6, postgresql-9.6.20-1.module+el8.1.0+9156+8ff1384f.s390x::postgresql:9.6 +42
- RHSA-2021:0166 Released 2021-01-18 · Red Hat rating Importantpostgresql:10 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql-10.15-1.module+el8.1.0+9154+cd474635.aarch64::postgresql:10, postgresql-10.15-1.module+el8.1.0+9154+cd474635.ppc64le::postgresql:10, postgresql-10.15-1.module+el8.1.0+9154+cd474635.s390x::postgresql:10 +47
Show 10 more Red Hat advisories
- RHSA-2021:0164 Released 2021-01-18 · Red Hat rating Importantpostgresql:9.6 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) postgresql-9.6.20-1.module+el8.2.0+8939+9a3b4b64.aarch64::postgresql:9.6, postgresql-9.6.20-1.module+el8.2.0+8939+9a3b4b64.ppc64le::postgresql:9.6, postgresql-9.6.20-1.module+el8.2.0+8939+9a3b4b64.s390x::postgresql:9.6 +42
- RHSA-2021:0163 Released 2021-01-18 · Red Hat rating Importantpostgresql:12 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.aarch64::postgresql:12, pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.ppc64le::postgresql:12, pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.s390x::postgresql:12 +47
- RHSA-2020:5664 Released 2020-12-22 · Red Hat rating Importantpostgresql:10 security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.0) postgresql-10.15-1.module+el8.0.0+9155+4a85661a.ppc64le::postgresql:10, postgresql-10.15-1.module+el8.0.0+9155+4a85661a.src::postgresql:10, postgresql-10.15-1.module+el8.0.0+9155+4a85661a.x86_64::postgresql:10 +24
- RHSA-2020:5661 Released 2020-12-22 · Red Hat rating Importantpostgresql:9.6 security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.0) postgresql-9.6.20-1.module+el8.0.0+9157+356b8def.ppc64le::postgresql:9.6, postgresql-9.6.20-1.module+el8.0.0+9157+356b8def.src::postgresql:9.6, postgresql-9.6.20-1.module+el8.0.0+9157+356b8def.x86_64::postgresql:9.6 +20
- RHSA-2020:5620 Released 2020-12-17 · Red Hat rating Importantpostgresql:12 security update
- Red Hat Enterprise Linux AppStream (v. 8) pgaudit-1.4.0-4.module+el8.3.0+9042+664538f4.aarch64::postgresql:12, pgaudit-1.4.0-4.module+el8.3.0+9042+664538f4.ppc64le::postgresql:12, pgaudit-1.4.0-4.module+el8.3.0+9042+664538f4.s390x::postgresql:12 +47
- RHSA-2020:5619 Released 2020-12-17 · Red Hat rating Importantpostgresql:9.6 security update
- Red Hat Enterprise Linux AppStream (v. 8) postgresql-9.6.20-1.module+el8.3.0+8938+7f0e88b6.aarch64::postgresql:9.6, postgresql-9.6.20-1.module+el8.3.0+8938+7f0e88b6.ppc64le::postgresql:9.6, postgresql-9.6.20-1.module+el8.3.0+8938+7f0e88b6.s390x::postgresql:9.6 +42
- RHSA-2020:5110 Released 2020-11-18 · Red Hat rating Moderaterh-postgresql10-postgresql security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql10-postgresql-10.14-1.el7, rh-postgresql10-postgresql-contrib-10.14-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.14-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-postgresql10-postgresql-10.14-1.el7, rh-postgresql10-postgresql-contrib-10.14-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.14-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql10-postgresql-10.14-1.el7, rh-postgresql10-postgresql-contrib-10.14-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.14-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql10-postgresql-10.14-1.el7, rh-postgresql10-postgresql-contrib-10.14-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.14-1.el7 +11
- RHSA-2020:5112 Released 2020-11-16 · Red Hat rating Moderaterh-postgresql12-postgresql security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql12-postgresql-12.4-1.el7, rh-postgresql12-postgresql-contrib-12.4-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.4-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-postgresql12-postgresql-12.4-1.el7, rh-postgresql12-postgresql-contrib-12.4-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.4-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql12-postgresql-12.4-1.el7, rh-postgresql12-postgresql-contrib-12.4-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.4-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql12-postgresql-12.4-1.el7, rh-postgresql12-postgresql-contrib-12.4-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.4-1.el7 +11
- RHSA-2020:4295 Released 2020-10-21 · Red Hat rating Moderaterh-postgresql96-postgresql security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql96-postgresql-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-postgresql96-postgresql-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql96-postgresql-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql96-postgresql-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-9.6.19-1.el7, rh-postgresql96-postgresql-contrib-syspaths-9.6.19-1.el7 +11
- RHSA-2020:3669 Released 2020-09-08 · Red Hat rating Moderatepostgresql:10 security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) postgresql-10.14-1.module+el8.2.0+7801+be0fed80.aarch64::postgresql:10, postgresql-10.14-1.module+el8.2.0+7801+be0fed80.ppc64le::postgresql:10, postgresql-10.14-1.module+el8.2.0+7801+be0fed80.s390x::postgresql:10 +47
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
PostgreSQL — openSUSE-SU-2020:1228
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11220 Uncontrolled search path in PostgreSQLPriority LOW 36
- Advisory ·
PostgreSQL — openSUSE-SU-2020:1244
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11220 Uncontrolled search path in PostgreSQLPriority LOW 36
Show 5 more groups
- Advisory ·
PostgreSQL — openSUSE-SU-2020:1243
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11220 Uncontrolled search path in PostgreSQLPriority LOW 36
- Advisory ·
PostgreSQL — openSUSE-SU-2020:1312
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11220 Uncontrolled search path in PostgreSQLPriority LOW 36
- Advisory ·
PostgreSQL — openSUSE-SU-2020:1326
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11220 Uncontrolled search path in PostgreSQLPriority LOW 36
- Advisory ·
PostgreSQL — GLSA-202008-13
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11220 Uncontrolled search path in PostgreSQLPriority LOW 36
- Advisory ·
PostgreSQL — USN-4472-1
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2020-11220 Uncontrolled search path in PostgreSQLPriority LOW 36
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:3669, RHSA-2020:5619, RHSA-2020:5620 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.0) | Fixed | RHSA-2020:5661, RHSA-2020:5664 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.1) | Fixed | RHSA-2021:0166, RHSA-2021:0167 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.2) | Fixed | RHSA-2021:0163, RHSA-2021:0164 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:4295, RHSA-2020:5110, RHSA-2020:5112 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:4295, RHSA-2020:5110, RHSA-2020:5112 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2020:4295, RHSA-2020:5110, RHSA-2020:5112 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:4295, RHSA-2020:5110, RHSA-2020:5112 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2021:0988 |
| Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts | Fixed | RHSA-2021:0988 |
Not affected: 8 products
- Red Hat Decision Manager 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 6
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat Process Automation 7
- Red Hat build of Quarkus
Timeline
- 2026-10-02 Threatist record created from CVE-2020-14350
- 2026-10-03 Alias added: GHSA-6v9v-3f4c-cjgx
References
Advisory 11
- openSUSE-SU-2020:1227
- openSUSE-SU-2020:1228
- openSUSE-SU-2020:1244
- openSUSE-SU-2020:1243
- https://bugzilla.redhat.com/show_bug.cgi?id=1865746
- [debian-lts-announce] 20200817 [SECURITY] [DLA 2331-1] posgresql-9.6 security update
- GLSA-202008-13
- USN-4472-1
- openSUSE-SU-2020:1312
- openSUSE-SU-2020:1326
- https://security.netapp.com/advisory/ntap-20200918-0002/
Sources
- CVE-2020-14350 · CVE Program
- CVE-2020-14350 · NVD
- FIRST EPSS
- GHSA-6v9v-3f4c-cjgx · GitHub Advisory Database · CC BY 4.0
- CVE-2020-14350 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences