Read the docs
TI-2020-11221 Aliases CVE-2020-14350GHSA-6v9v-3f4c-cjgx

Untrusted search path in PostgreSQL

Priority LOW 33CWE-426Published · Updated

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

EPSS 0.00532 45th percentileScored 2026-11-07
Fix Partial Red Hat: 13 advisoriesRed Hat: 10 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—PostgreSQLPostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23—No fix listedCNA
  • 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

CPEVersionsRoleVendor
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.4VulnerablePostgreSQL
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*15.1VulnerableopenSUSE
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*15.2VulnerableopenSUSE
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*16.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*18.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*20.04VulnerableCanonical
  • 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 Moderate
    rhvm-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 Important
    postgresql: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 Important
    postgresql: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 Important
    postgresql: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 Important
    postgresql: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 Important
    postgresql: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 Important
    postgresql: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 Important
    postgresql: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 Important
    postgresql: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 Moderate
    rh-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 Moderate
    rh-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 Moderate
    rh-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 Moderate
    postgresql: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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Storage 3AffectedNo 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 8Fixed RHSA-2021:0988
Red Hat Virtualization 4 Management Agent for RHEL 7 HostsFixed 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

  1. 2026-10-02 Threatist record created from CVE-2020-14350
  2. 2026-10-03 Alias added: GHSA-6v9v-3f4c-cjgx

References

Sources