CVE-2024-47049
Czim File-handling vulnerability
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.
Affected products
File-handling. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Czim File-handling runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/czim/file-handling/blob/2.3.0/SECURITY.md · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-47049
- github.com/czim/file-handling/commit/95dfda850536bf35e684619598b9d02f4c97680d
- github.com/czim/file-handling/commit/dcf879896efe3457f51af9c8eab9f70dfc709a99
- github.com/advisories/GHSA-6rgh-r6j3-3223
- nvd.nist.gov/vuln/detail/CVE-2024-47049
- cve.org/CVERecord?id=CVE-2024-47049
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.