CVE-2021-4435

Yarn: untrusted search path

Published Feb 4, 2024 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0674 An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.
Github GHSA Github GHSA GHSA-mpwj-fcr6-x34c Yarn untrusted search path vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Jun 17, 2025, 2:29 PM
Reserved
Feb 1, 2024, 2:23 PM
Status
Modified
Published
Feb 4, 2024, 8:15 PM
Modified
Jun 17, 2026, 4:19 AM
Severity
Moderate
Public date
Sep 20, 2021, 12:00 AM