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.
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.
Link | Tags |
---|---|
https://access.redhat.com/security/cve/CVE-2021-4435 | third party advisory vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2262284 | issue tracking |
https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1 | patch |
https://github.com/yarnpkg/yarn/releases/tag/v1.22.13 | release notes |