CVE-2024-47049
8.2high
czim/file-handling vulnerable to SSRF and directory traversal
- Severity
- 8.2high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.64% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6rgh-r6j3-3223
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| czim/file-handling (Packagist) | before 1.5.0, from 2.0.0 before 2.3.0 | GitHub Advisory Database |
| czim file-handling | before 1.5.0, from 2.0.0 before 2.3.0 | NVD |
All scores
| CISA-ADP | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 8.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | medium 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 | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
El paquete czim/file-handling anterior a 1.5.0 y 2.x anterior a 2.3.0 (usado con PHP Composer) no valida correctamente las URL dentro de makeFromUrl y makeFromAny, lo que genera SSRF y un directory traversal para la lectura de archivos locales.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-47049 changed 2025-03-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6rgh-r6j3-3223 changed 2025-03-19 | CC-BY-4.0 |
| NVD | CVE-2024-47049 changed 2026-06-17 | Public domain |