Vulnerability Details : CVE-2021-4435
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.
Vulnerability category: File inclusion
Products affected by CVE-2021-4435
- cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-4435
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 16 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-4435
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | 2024-02-13 |
7.7
|
HIGH | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
1.0
|
6.0
|
Fedora Project | 2024-02-04 |
CWE ids for CVE-2021-4435
-
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.Assigned by:
- nvd@nist.gov (Primary)
- patrick@puiterwijk.org (Secondary)
References for CVE-2021-4435
-
https://access.redhat.com/security/cve/CVE-2021-4435
CVE-2021-4435- Red Hat Customer PortalThird Party Advisory
-
https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
Prevents the cwd from being a valid resolution for exec · yarnpkg/yarn@67fcce8 · GitHubPatch
-
https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
Release v1.22.13 · yarnpkg/yarn · GitHubRelease Notes
-
https://bugzilla.redhat.com/show_bug.cgi?id=2262284
2262284 – (CVE-2021-4435) CVE-2021-4435 yarn: untrusted search pathIssue Tracking
Jump to