CVE-2020-14350
published 2020-08-24CVE-2020-14350: 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…
PriorityP337high7.3CVSS 3.1
AVLACLPRLUIRSUCHIHAH
EPSS
0.53%
41.8th percentile
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.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| msrc | cm1_postgresql_12.7-1_on_cbl_mariner_1.0 | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | >= 0 < 11.9-r0 | 11.9-r0 |
| postgresql | postgresql | >= 0 < 12.4-r0 | 12.4-r0 |
| postgresql | postgresql | >= 0 < 12.4-r0 | 12.4-r0 |
| postgresql | postgresql | >= 0 < 12.4-r0 | 12.4-r0 |
| postgresql | postgresql | >= 0 < 12.4-r0 | 12.4-r0 |
| postgresql | postgresql | >= 0 < 11.9-r0 | 11.9-r0 |
| postgresql | postgresql | >= 10.0 < 10.14 | 10.14 |
| postgresql | postgresql | >= 11.0 < 11.9 | 11.9 |
| postgresql | postgresql | >= 12.0 < 12.4 | 12.4 |
| postgresql | postgresql | >= 9.5 < 9.5.23 | 9.5.23 |
| postgresql | postgresql | >= 9.6 < 9.6.19 | 9.6.19 |
CVSS provenance
nvdv3.17.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
nvdv2.04.4MEDIUMAV:L/AC:M/Au:N/C:P/I:P/A:P
osv7.3HIGH
vendor_msrc7.3HIGH
vendor_redhat7.3HIGH
vendor_ubuntu7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Untrusted Search Path in PostgreSQL
ghsa_unreviewed·2022-02-15
CVE-2020-14350 [MEDIUM] CWE-426 Untrusted Search Path in PostgreSQL
Untrusted Search Path in PostgreSQL
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.
OSV
postgresql-10, postgresql-12, postgresql-9.5 vulnerabilities
osv·2020-08-25·CVSS 7.1
CVE-2020-14349 [HIGH] postgresql-10, postgresql-12, postgresql-9.5 vulnerabilities
postgresql-10, postgresql-12, postgresql-9.5 vulnerabilities
Noah Misch discovered that PostgreSQL incorrectly handled the search_path
setting when used with logical replication. A remote attacker could
possibly use this issue to execute arbitrary SQL code. This issue only
affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14349)
Andres Freund discovered that PostgreSQL incorrectly handled search path
elements in CREATE EXTENSION. A remote attacker could possibly use this
issue to execute arbitrary SQL code. (CVE-2020-14350)
OSV
CVE-2020-14350: It was found that some PostgreSQL extensions did not use search_path safely in their installation script
osv·2020-08-24·CVSS 7.3
CVE-2020-14350 [HIGH] CVE-2020-14350: It was found that some PostgreSQL extensions did not use search_path safely in their installation script
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.
Ubuntu
PostgreSQL vulnerabilities
vendor_ubuntu·2020-08-25·CVSS 7.1
CVE-2020-14349 [HIGH] PostgreSQL vulnerabilities
Title: PostgreSQL vulnerabilities
Summary: Several security issues were fixed in PostgreSQL.
Noah Misch discovered that PostgreSQL incorrectly handled the search_path
setting when used with logical replication. A remote attacker could
possibly use this issue to execute arbitrary SQL code. This issue only
affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14349)
Andres Freund discovered that PostgreSQL incorrectly handled search path
elements in CREATE EXTENSION. A remote attacker could possibly use this
issue to execute arbitrary SQL code. (CVE-2020-14350)
Instructions: This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart PostgreSQL to
make all the necessary changes.
Red Hat
postgresql: Uncontrolled search path element in CREATE EXTENSION
vendor_redhat·2020-08-13·CVSS 7.3
CVE-2020-14350 [HIGH] CWE-20 postgresql: Uncontrolled search path element in CREATE EXTENSION
postgresql: Uncontrolled search path element in CREATE EXTENSION
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.
A flaw was found in PostgreSQL, where some PostgreSQL extensions did not use the search_path safely in their installation script. This flaw allows an attacker with sufficient privileges to trick an administrator into executing a specially crafted script during the extension's installation or update. The highest threat from this vulnerabi
Microsoft
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 exec
vendor_msrc·2020-08-11·CVSS 7.3
CVE-2020-14350 [HIGH] CWE-426 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 exec
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to tran
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-14350 postgresql:12/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
bugzilla·2020-08-13·CVSS 7.3
CVE-2020-14350 [HIGH] CVE-2020-14350 postgresql:12/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
CVE-2020-14350 postgresql:12/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affect
Bugzilla
CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
bugzilla·2020-08-13·CVSS 7.3
CVE-2020-14350 [HIGH] CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple sup
Bugzilla
CVE-2020-14350 postgresql:10/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
bugzilla·2020-08-13·CVSS 7.3
CVE-2020-14350 [HIGH] CVE-2020-14350 postgresql:10/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
CVE-2020-14350 postgresql:10/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affect
Bugzilla
CVE-2020-14350 postgresql:11/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
bugzilla·2020-08-13·CVSS 7.3
CVE-2020-14350 [HIGH] CVE-2020-14350 postgresql:11/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
CVE-2020-14350 postgresql:11/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affect
Bugzilla
CVE-2020-14350 postgresql:9.6/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
bugzilla·2020-08-13·CVSS 7.3
CVE-2020-14350 [HIGH] CVE-2020-14350 postgresql:9.6/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
CVE-2020-14350 postgresql:9.6/postgresql: Uncontrolled search path element in CREATE EXTENSION [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affec
Bugzilla
CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION
bugzilla·2020-08-04·CVSS 7.3
CVE-2020-14350 [HIGH] CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION
CVE-2020-14350 postgresql: Uncontrolled search path element in CREATE EXTENSION
When a superuser issues certain CREATE EXTENSION statements, users may be able to execute arbitrary SQL functions under the identity of that superuser. The attacker must have permission to create objects in the new extension's schema or a schema of a prerequisite extension. Not all extensions are vulnerable. In addition to correcting the extensions provided with PostgreSQL, the project is issuing guidance for third-party extension authors to secure their own work.
Discussion:
Created postgresql tracking bugs for this issue:
Affects: fedora-all [bug 1868670]
Created postgresql:10/postgresql tracking bugs for this issue:
Affects: fedora-all [bug 1868666]
Created postgresql:11/postgresql tracking bugs for
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-08/msg00044.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-08/msg00049.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-08/msg00050.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00003.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00008.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=1865746https://lists.debian.org/debian-lts-announce/2020/08/msg00028.htmlhttps://security.gentoo.org/glsa/202008-13https://security.netapp.com/advisory/ntap-20200918-0002/https://usn.ubuntu.com/4472-1/http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-08/msg00044.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-08/msg00049.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-08/msg00050.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00003.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00008.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=1865746https://lists.debian.org/debian-lts-announce/2020/08/msg00028.htmlhttps://security.gentoo.org/glsa/202008-13https://security.netapp.com/advisory/ntap-20200918-0002/https://usn.ubuntu.com/4472-1/
2020-08-24
Published