Symfony ux
Symfony: Path Traversal in symfony/ux-toolkit Allows Arbitrary File Write and Read via Crafted Recipe Manifest
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
symfony ux
- >= 2.32.0, < 2.36.1
- >= 3.0.0, < 3.2.0
Fixed in 2.36.1, 3.2.0
Mitigation
Upgrade ux to 2.36.1 or 3.2.0 or later.
References
- Vendor advisory github.com/symfony/ux/security/advisories/GHSA…
- Patch github.com/symfony/ux/commit/7b4ddf3764bf269a1…
- Release notes github.com/symfony/ux/releases/tag/v2.36.1
1 more
- Release notes github.com/symfony/ux/releases/tag/v3.2.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.