Description
Symfony UX is a JavaScript ecosystem for Symfony. From 2.32.0 before 2.36.1 and from 3.0.0 before 3.2.0, the ux:install console command installs files from a recipe kit by copying paths listed in a copy-files map, and because Path::isRelative() accepts paths like ../../../etc, a crafted or compromised kit can write attacker-controlled content to arbitrary locations or read local files outside the recipe directory. This issue is fixed in versions 2.36.1 and 3.2.0.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
>= 3.0.0, < 3.2.0
References
github.com/...ony/ux/security/advisories/GHSA-p9xj-fpr2-jf2q
github.com/...ommit/7b4ddf3764bf269a1b5fde5bf03c4bce568694e4
github.com/symfony/ux/releases/tag/v2.36.1
github.com/symfony/ux/releases/tag/v3.2.0