CVE-2021-4435

HIGH EPSS 21.7%
Published Feb 4, 20242y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Feb 4, 2024 2y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
21.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-426

Affected Products 1

VendorProductVersionRange
yarnpkgyarn* <1.22.13

References 4

  • access.redhat.com https://access.redhat.com/security/cve/CVE-2021-4435
    Third Party Advisory
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2262284
    Issue Tracking
  • github.com https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
    Patch
  • github.com https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
    Release Notes

Remediation

  • github.com https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
    Patch