CVEfocus › CVE database › CVE-2020-14350

CVE-2020-14350

EPSS 0.5% (higher than 38% of CVEs)Published 2020-08-24Updated 2024-08-04Assigner: redhat

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

41Fixed
2Fix pending
24Will not fix
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04postgresql-12Fixed12.4-0ubuntu0.20.04.1UBUNTU-CVE-2020-14350
Ubuntu 18.04postgresql-10Fixed10.14-0ubuntu0.18.04.1UBUNTU-CVE-2020-14350
Ubuntu 16.04postgresql-9.5Fixed9.5.23-0ubuntu0.16.04.1UBUNTU-CVE-2020-14350
Ubuntu 14.04postgresql-9.1Fix pending
Ubuntu 14.04postgresql-9.3Fix pendingUBUNTU-CVE-2020-14350
Red Hat Enterprise Linux 9postgresqlNot affected
Red Hat Enterprise Linux 9postgresql-contribNot affected
Red Hat Enterprise Linux 9postgresql-docsNot affected
Red Hat Enterprise Linux 9postgresql-plperlNot affected
Red Hat Enterprise Linux 9postgresql-plpython3Not affected
Red Hat Enterprise Linux 9postgresql-pltclNot affected
Red Hat Enterprise Linux 9postgresql-private-develNot affected
Red Hat Enterprise Linux 9postgresql-private-libsNot affected
Red Hat Enterprise Linux 9postgresql-serverNot affected
Red Hat Enterprise Linux 9postgresql-server-develNot affected
Red Hat Enterprise Linux 9postgresql-staticNot affected
Red Hat Enterprise Linux 9postgresql-testNot affected
Red Hat Enterprise Linux 9postgresql-test-rpm-macrosNot affected
Red Hat Enterprise Linux 9postgresql-upgradeNot affected
Red Hat Enterprise Linux 9postgresql-upgrade-develNot affected
Red Hat Enterprise Linux 8libpqNot affected
Red Hat Enterprise Linux 8libpq-develNot affected
Red Hat Enterprise Linux 8pgauditFixed0:1.4.0-4.module+el8.3.0+9042+664538f4RHSA-2020:5620
Red Hat Enterprise Linux 8postgres-decoderbufsFixed0:0.10.0-2.module+el8.3.0+9042+664538f4RHSA-2020:5620
Red Hat Enterprise Linux 8postgresqlFixed0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:5620
Red Hat Enterprise Linux 8postgresql-contribFixed0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:5619
Red Hat Enterprise Linux 8postgresql-docsFixed0:9.6.20-1.module+el8.3.0+8938+7f0e88b6RHSA-2020:5620
Red Hat Enterprise Linux 8postgresql-plperlFixed0:12.5-1.module+el8.3.0+9042+664538f4RHSA-2020:5619
Red Hat Enterprise Linux 8postgresql-plpython3Fixed0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:5619
Red Hat Enterprise Linux 8postgresql-pltclFixed0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:5620
Red Hat Enterprise Linux 8postgresql-serverFixed0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:5619
Red Hat Enterprise Linux 8postgresql-server-develFixed0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:5620
Red Hat Enterprise Linux 8postgresql-staticFixed0:12.5-1.module+el8.3.0+9042+664538f4RHSA-2020:5619
Red Hat Enterprise Linux 8postgresql-testFixed0:10.14-1.module+el8.2.0+7801+be0fed80RHSA-2020:5620
Red Hat Enterprise Linux 8postgresql-test-rpm-macrosFixed0:9.6.20-1.module+el8.3.0+8938+7f0e88b6RHSA-2020:3669
Red Hat Enterprise Linux 8postgresql-upgradeFixed0:12.5-1.module+el8.3.0+9042+664538f4RHSA-2020:3669
Red Hat Enterprise Linux 8postgresql-upgrade-develFixed0:12.5-1.module+el8.3.0+9042+664538f4RHSA-2020:3669
Red Hat Enterprise Linux 7postgresqlWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-contribWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-develWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-docsWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-libsWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-plperlWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-plpythonWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-pltclWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-serverWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-testWill not fix
Will not fix
Red Hat Enterprise Linux 7postgresql-upgradeWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-contribWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-plperlWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-plpythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-pltclWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6postgresql-testWill not fix
Out of support scope
Red Hat Enterprise Linux 5postgresqlWill not fix
Out of support scope
Red Hat Enterprise Linux 5postgresql84Will not fix
Out of support scope
AlmaLinux 8postgres-decoderbufsFixed0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2020:5620
Rocky Linux 8pgauditFixed0:1.4.0-4.module+el8.4.0+545+ca56da2eRLSA-2020:5620
Rocky Linux 8postgres-decoderbufsFixed0:0.10.0-2.module+el8.4.0+424+71d47d9aRLSA-2020:5620
Alpine Linux 3.20postgresql14Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.20postgresql15Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.19postgresql14Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.19postgresql15Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.18postgresql12Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.18postgresql14Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.18postgresql15Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.17postgresql12Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.17postgresql14Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.17postgresql15Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.16postgresql12Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.16postgresql14Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.15postgresql12Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.15postgresql14Fixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.14postgresqlFixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.13postgresqlFixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.12postgresqlFixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.11postgresqlFixed12.4-r0ALPINE-CVE-2020-14350
Alpine Linux 3.10postgresqlFixed11.9-r0ALPINE-CVE-2020-14350
Alpine Linux 3.9postgresqlFixed11.9-r0ALPINE-CVE-2020-14350

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.