CVE-2024-47049
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
czim/file-handling (Packagist)before 1.5.0, from 2.0.0 before 2.3.0GitHub Advisory Database
czim file-handlingbefore 1.5.0, from 2.0.0 before 2.3.0NVD

All scores

CISA-ADP8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
GitHub8.2medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N
NVD8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-22CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2024-47049 changed 2025-03-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-6rgh-r6j3-3223 changed 2025-03-19CC-BY-4.0
NVDCVE-2024-47049 changed 2026-06-17Public domain