Untrusted Search Path Affecting org.webjars.npm:yarn package, versions [,1.22.19)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (23rd 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-JAVA-ORGWEBJARSNPM-6227562
  • published5 Feb 2024
  • disclosed4 Feb 2024
  • creditUnknown

Introduced: 4 Feb 2024

CVE-2021-4435  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:yarn to version 1.22.19 or higher.

Overview

org.webjars.npm:yarn is a package for dependency management.

Affected versions of this package are vulnerable to Untrusted Search Path. An attacker can execute arbitrary code by placing a malicious executable file in a directory that is then searched by the victim running certain commands.

Note: This is only exploitable on Windows.

CVSS Base Scores

version 3.1