Untrusted Search Path Affecting osquery/osquery package, versions [,4.4.0)


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-OSQUERYOSQUERY-2365251
  • published26 Jan 2022
  • disclosed10 Jul 2020
  • creditUnknown

Introduced: 10 Jul 2020

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

How to fix?

Upgrade osquery/osquery to version 4.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path osquery before version 4.4.0 enables a privilege escalation vulnerability. If a Window system is configured with a PATH that contains a user-writable directory then a local user may write a zlib1.dll DLL, which osquery will attempt to load. Since osquery runs with elevated privileges this enables local escalation. This is fixed in version 4.4.0.

CVSS Base Scores

version 3.1