Untrusted Search Path Affecting postgresql96-plpython26 package, versions <0:9.6.19-1.83.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-POSTGRESQL96PLPYTHON26-1725587
  • published27 Sept 2021
  • disclosed24 Aug 2020

Introduced: 24 Aug 2020

CVE-2020-14350  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 postgresql96-plpython26 to version 0:9.6.19-1.83.amzn1 or higher.
This issue was patched in ALAS-2020-1443.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql96-plpython26 package and not the postgresql96-plpython26 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1