cve.bz

CVE-2020-14350 Untrusted Search Path

7.3 highEPSS 0.5%

High (7.3). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-426 Untrusted Search Path
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-14350 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14350?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14350?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-14350 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresqlfrom 9.5 before 9.5.23
postgresql:postgresqlfrom 9.6 before 9.6.19
postgresql:postgresqlfrom 10.0 before 10.14
postgresql:postgresqlfrom 11.0 before 11.9
postgresql:postgresqlfrom 12.0 before 12.4
debian:debian_linux9.0
opensuse:leap15.1
opensuse:leap15.2
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9postgresql-9.69.6.19-0+deb9u1DLA-2331-1
Ubuntu16.04:LTSpostgresql-9.59.5.23-0ubuntu0.16.04.1UBUNTU-CVE-2020-14350 USN-4472-1
Ubuntu18.04:LTSpostgresql-1010.14-0ubuntu0.18.04.1UBUNTU-CVE-2020-14350 USN-4472-1
Ubuntu20.04:LTSpostgresql-1212.4-0ubuntu0.20.04.1UBUNTU-CVE-2020-14350 USN-4472-1
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2020-14350
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.4.0-4.module+el8.3.0+9042+664538f4RHSA-2020:5620
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.3.0+9042+664538f4RHSA-2020:5620
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 18 more0:9.6.20-1.module+el8.3.0+8938+7f0e88b6RHSA-2020:5619
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:3669
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:12.5-1.module+el8.3.0+9042+664538f4RHSA-2020:5620
Red Hatrhel_e4s:8.0::appstreampostgresql, postgresql-docs, postgresql-test and 18 more0:9.6.20-1.module+el8.0.0+9157+356b8defRHSA-2020:5661
Red Hatrhel_e4s:8.0::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:10.15-1.module+el8.0.0+9155+4a85661aRHSA-2020:5664
Red Hatrhel_eus:8.1::appstreampostgresql, postgresql-docs, postgresql-test and 18 more0:9.6.20-1.module+el8.1.0+9156+8ff1384fRHSA-2021:0167
Red Hatrhel_eus:8.1::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:10.15-1.module+el8.1.0+9154+cd474635RHSA-2021:0166
Red Hatrhel_eus:8.2::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.4.0-4.module+el8.2.0+9043+1dbb5661RHSA-2021:0163
Red Hatrhel_eus:8.2::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.2.0+9043+1dbb5661RHSA-2021:0163
Red Hatrhel_eus:8.2::appstreampostgresql, postgresql-docs, postgresql-test and 18 more0:9.6.20-1.module+el8.2.0+8939+9a3b4b64RHSA-2021:0164
5 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 morepostgresql1010.15-4.9.1SUSE-SU-2020:3464-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 morepostgresql1212.5-3.9.3SUSE-SU-2020:3630-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 8 morepostgresql969.6.20-6.8.1SUSE-SU-2020:3477-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morepostgresql1010.14-4.25.1SUSE-SU-2020:2264-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP1 and 1 morepostgresql1010.14-8.19.1SUSE-SU-2020:2355-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1postgresql1212.4-3.11.1SUSE-SU-2020:2271-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2postgresql1212.4-8.6.1SUSE-SU-2020:2265-1
openSUSELeap 15.1postgresql12.0.1-lp151.6.9.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql1010.13-lp151.2.14.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql1010.14-lp151.2.18.1openSUSE-SU-2020:1312-1
openSUSELeap 15.1postgresql1212.3-lp151.2.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql1212.4-lp151.6.1openSUSE-SU-2020:1243-1
openSUSELeap 15.1postgresql969.6.19-lp151.3.3.1openSUSE-SU-2020:1227-1
openSUSELeap 15.2postgresql12.0.1-lp152.3.3.2openSUSE-SU-2020:1228-1
openSUSELeap 15.2postgresql1010.13-lp152.2.3.1openSUSE-SU-2020:1228-1
openSUSELeap 15.2postgresql1010.14-lp152.2.6.2openSUSE-SU-2020:1326-1
openSUSELeap 15.2postgresql1111.9-lp152.3.3.1openSUSE-SU-2020:1228-1
openSUSELeap 15.2postgresql1212.3-lp152.3.4.1openSUSE-SU-2020:1228-1
openSUSELeap 15.2postgresql1212.4-lp152.3.7.1openSUSE-SU-2020:1244-1
4 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2020:5620
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2020:5620
Rocky Linux8pgaudit0:1.4.0-4.module+el8.4.0+545+ca56da2eRLSA-2020:5620
Rocky Linux8postgres-decoderbufs0:0.10.0-2.module+el8.4.0+424+71d47d9aRLSA-2020:5620
Rocky Linux8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2020:5620
Alpinev3.9, v3.10postgresql11.9-r0ALPINE-CVE-2020-14350
Alpinev3.11, v3.12, v3.13 and 1 morepostgresql12.4-r0ALPINE-CVE-2020-14350
Alpinev3.15, v3.16postgresql12, postgresql1412.4-r0ALPINE-CVE-2020-14350
Alpinev3.17, v3.18postgresql12, postgresql14, postgresql1512.4-r0ALPINE-CVE-2020-14350
Alpinev3.19, v3.20postgresql14, postgresql1512.4-r0ALPINE-CVE-2020-14350

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In Red Hat Gluster Storage 3, PostgreSQL was shipped as a part of Red Hat Gluster Storage Console that is no longer supported for use with Red Hat Gluster Storage 3.5. Red Hat Gluster Storage Web Administration is now the recommended monitoring tool for Red Hat Storage Gluster clusters.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8postgresql:10-8020020200825115746.4cda2c84Fixed 2020-09-08RHSA-2020:3669
Red Hat Enterprise Linux 8postgresql:9.6-8030020201201133334.229f0a1cFixed 2020-12-17RHSA-2020:5619
Red Hat Enterprise Linux 8postgresql:12-8030020201207110000.229f0a1cFixed 2020-12-17RHSA-2020:5620
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionspostgresql:9.6-8000020201214122017.f8e95b4eFixed 2020-12-22RHSA-2020:5661
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionspostgresql:10-8000020201214113918.f8e95b4eFixed 2020-12-22RHSA-2020:5664
Red Hat Enterprise Linux 8.1 Extended Update Supportpostgresql:10-8010020201214112129.c27ad7f8Fixed 2021-01-18RHSA-2021:0166
Red Hat Enterprise Linux 8.1 Extended Update Supportpostgresql:9.6-8010020201214134447.c27ad7f8Fixed 2021-01-18RHSA-2021:0167
Red Hat Enterprise Linux 8.2 Extended Update Supportpostgresql:12-8020020201207110224.4cda2c84Fixed 2021-01-18RHSA-2021:0163
Red Hat Enterprise Linux 8.2 Extended Update Supportpostgresql:9.6-8020020201201133334.4cda2c84Fixed 2021-01-18RHSA-2021:0164
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-postgresql96-postgresql-0:9.6.19-1.el7Fixed 2020-10-21RHSA-2020:4295
Red Hat build of QuarkuspostgresqlNot affected
Red Hat Decision Manager 7postgresqlNot affected
Red Hat Enterprise Linux 5postgresqlOut of support scope
Red Hat Enterprise Linux 5postgresql84Out of support scope
Red Hat Enterprise Linux 6postgresqlOut of support scope
Red Hat Enterprise Linux 7postgresqlWill not fix
Red Hat Enterprise Linux 8libpqNot affected
Red Hat Enterprise Linux 9postgresqlNot affected
Red Hat Fuse 7postgresqlNot affected
Red Hat JBoss Enterprise Application Platform 6postgresqlNot affected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-14350.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON