CVE-2021-4435

Yarn: untrusted search path

State
Published
Severity
7.7 High
Published
Feb 4, 2024
Updated
Jun 17, 2025
Reserved
Feb 1, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:Hfedora

Weaknesses

Affected Products

ProductVersions
yarnn/a
  • 1.22.13Not affected
FedoraFedora
    Extra Packages for Enterprise LinuxFedora

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.