CVE-2024-47049
HIGH 8.2CVSS 3.1czim/file-handling vulnerable to SSRF and directory traversal
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.
- Published
- 17 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22CWE-918
- Also known as
- GHSA-6rgh-r6j3-3223
- Sources
- NVDJSONOSV GHSA-6rgh-r6j3-3223JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | czim | file-handlingcpe:2.3:a:czim:file-handling:*:*:*:*:*:*:*:* |
< 1.5.0 | 1.5.0 |
| NVD | czim | file-handlingcpe:2.3:a:czim:file-handling:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.3.0 | 2.3.0 |
| OSV | Packagist | czim/file-handling | < 1.5.0 | 1.5.0 |
| OSV | Packagist | czim/file-handling | >= 2.0.0, < 2.3.0 | 2.3.0 |
References
- https://github.com/czim/file-handling/blob/2.3.0/SECURITY.md · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-47049 · ADVISORY
- https://github.com/czim/file-handling/commit/95dfda850536bf35e684619598b9d02f4c97680d · WEB
- https://github.com/czim/file-handling/commit/dcf879896efe3457f51af9c8eab9f70dfc709a99 · WEB
- https://github.com/czim/file-handling · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 17 Sep 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Sep 2024)