Untrusted Search Path Affecting postgresql package, versions [9.5,9.5.23)[9.6,9.6.19)[10.0,10.14)[11.0,11.9)[12.0,12.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-POSTGRESQL-2336030
  • published12 Jan 2022
  • disclosed24 Aug 2020
  • creditUnknown

Introduced: 24 Aug 2020

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

How to fix?

Upgrade postgresql to version 9.5.23, 9.6.19, 10.14, 11.9, 12.4 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path. 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 Scores

version 3.1