{"id":"CVE-2024-47049","aliases":["CVE-2024-47049","GHSA-6rgh-r6j3-3223"],"related":[],"kind":"vulnerability","state":"published","title":"czim/file-handling vulnerable to SSRF and directory traversal","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-09-17T00:00:00.000Z","modified":"2026-06-17T07:56:27.210Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-22","CWE-918"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.0"}],"ecosystem":"Packagist","package":"czim/file-handling","purl":"pkg:composer/czim/file-handling","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.3.0"}],"ecosystem":"Packagist","package":"czim/file-handling","purl":"pkg:composer/czim/file-handling","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.5.0"},{"status":"affected","introduced":"2.0.0","fixed":"2.3.0"}],"vendor":"czim","product":"file-handling","cpe":"cpe:2.3:a:czim:file-handling:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/czim/file-handling/blob/2.3.0/SECURITY.md","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47049","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/czim/file-handling/commit/95dfda850536bf35e684619598b9d02f4c97680d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/czim/file-handling/commit/dcf879896efe3457f51af9c8eab9f70dfc709a99","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/czim/file-handling","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-17T18:27:29.490Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47049","url":"https://www.cve.org/CVERecord?id=CVE-2024-47049","licence":"CVE Terms of Use","modified":"2025-03-18T19:37:41.688Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6rgh-r6j3-3223","url":"https://github.com/advisories/GHSA-6rgh-r6j3-3223","licence":"CC-BY-4.0","modified":"2025-03-19T15:44:55.450Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47049","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47049","licence":"Public domain","modified":"2026-06-17T07:56:27.210Z"}],"updatedAt":"2026-11-25T22:58:45.503Z","epss":{"score":0.00636,"percentile":0.51796,"date":"2026-12-01T12:00:22.000Z"}}