Medium, CVSS 6.9PackagistPublished
czim/file-handling vulnerable to SSRF and directory traversal
CVE-2024-47049 · GHSA-6rgh-r6j3-3223
- Affected
- Packagist czim/file-handling < 1.5.0; >= 2.0.0, < 2.3.0
- Fixed in
- 1.5.02.3.0· Vendor fix available
- Issue
- The czim/file-handling package before 1.5.0 and 2.x before 2.3.0 (used with PHP Composer) does not properly validate URLs within makeFromUrl and makeFromAny, leading to SSRF, and to directory traversal for the reading of local files.
Recommended action: Upgrade to 2.3.0 or 1.5.0 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.