{"id":"CVE-2024-34515","aliases":["CVE-2024-34515","GHSA-6pjm-hmvf-h4rr"],"related":[],"kind":"vulnerability","state":"published","title":"image-optimizer allows PHAR deserialization","summary":"image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().","source":"cvelist"},{"lang":"en","text":"image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the `phar://` protocol in arguments to `file_exists()`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"image-optimizer anterior a 1.7.3 permite la deserialización PHAR, por ejemplo, el protocolo phar:// en argumentos para file_exists().","source":"nvd"}],"published":"2024-05-05T00:00:00.000Z","modified":"2026-06-17T07:33:32.920Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.7.3","status":"affected"}],"vendor":"spatie","product":"image_optimizer","cpe":"cpe:2.3:a:spatie:image_optimizer:1.7.3:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.7.3"}],"ecosystem":"Packagist","package":"spatie/image-optimizer","purl":"pkg:composer/spatie/image-optimizer","source":"ghsa"}],"references":[{"url":"https://github.com/spatie/image-optimizer/issues/210","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/spatie/image-optimizer/compare/1.7.2...1.7.3","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/spatie/image-optimizer/pull/211","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34515","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spatie/image-optimizer/commit/89847b55fbb44b3bcde0283bff8cc5abb5e51b82","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spatie/image-optimizer","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-21T17:02:37.896Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34515","url":"https://www.cve.org/CVERecord?id=CVE-2024-34515","licence":"CVE Terms of Use","modified":"2024-08-21T17:04:46.011Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6pjm-hmvf-h4rr","url":"https://github.com/advisories/GHSA-6pjm-hmvf-h4rr","licence":"CC-BY-4.0","modified":"2024-08-21T19:07:44.493Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34515","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34515","licence":"Public domain","modified":"2026-06-17T07:33:32.920Z"}],"updatedAt":"2026-11-25T22:58:39.951Z","epss":{"score":0.0188,"percentile":0.80055,"date":"2026-12-01T12:00:22.000Z"}}