Untrusted Search Path Affecting postgresql package, versions [9.5,9.5.22)[9.6,9.6.18)[10.0,10.13)[11.0,11.8)[12.0,12.3)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (26th 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-2335983
  • published12 Jan 2022
  • disclosed16 Sept 2020
  • creditUnknown

Introduced: 16 Sep 2020

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

How to fix?

Upgrade postgresql to version 9.5.22, 9.6.18, 10.13, 11.8, 12.3 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path. The Windows installer for PostgreSQL 9.5 - 12 invokes system-provided executables that do not have fully-qualified paths. Executables in the directory where the installer loads or the current working directory take precedence over the intended executables. An attacker having permission to add files into one of those directories can use this to execute arbitrary code with the installer's administrative rights.

References

CVSS Scores

version 3.1