UBUNTU-CVE-2021-4435

Source
https://ubuntu.com/security/CVE-2021-4435
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4435.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-4435
Upstream
Published
2024-02-04T20:15:00Z
Modified
2025-07-14T06:45:46.465539Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:20.04:LTS / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@1.22.4-2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.13.0-1build1
1.13.0-3
1.19.1-1
1.22.4-2

Ubuntu:22.04:LTS / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@1.22.10+~cs22.25.14-8?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.22.10+~cs22.25.14-3
1.22.10+~cs22.25.14-4
1.22.10+~cs22.25.14-5
1.22.10+~cs22.25.14-8

Ubuntu:24.04:LTS / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@1.22.19+~cs24.27.18-4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.22.19+~cs24.27.18-2
1.22.19+~cs24.27.18-4

Ubuntu:25.04 / node-yarnpkg

Package

Name
node-yarnpkg
Purl
pkg:deb/ubuntu/node-yarnpkg@4.0.2+dfsg-3?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.2+dfsg-3