Security mailing lists by PureSourceCode

CVE-2021-4435

HIGH 7.8CVSS 3.1

Yarn untrusted search path vulnerability

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.

Published
4 Feb 2024
Last modified
10 Sep 2026
Assigned by
patrick@puiterwijk.org
NVD status
Modified
Weakness
CWE-426
Also known as
GHSA-mpwj-fcr6-x34c
Sources
NVDJSONOSV GHSA-mpwj-fcr6-x34cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD patrick@puiterwijk.org (Secondary) CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD yarnpkg yarn
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*
< 1.22.13 1.22.13
OSV npm yarn < 1.22.13 1.22.13

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 4 Feb 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.