{"id":"GHSA-6pjm-hmvf-h4rr","summary":"image-optimizer allows PHAR deserialization","details":"image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the `phar://` protocol in arguments to `file_exists()`.","aliases":["CVE-2024-34515"],"modified":"2024-08-21T19:07:06.638855Z","published":"2024-05-05T21:30:31Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-05-06T14:35:28Z","nvd_published_at":"2024-05-05T21:15:55Z","cwe_ids":["CWE-502"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34515"},{"type":"WEB","url":"https://github.com/spatie/image-optimizer/issues/210"},{"type":"WEB","url":"https://github.com/spatie/image-optimizer/pull/211"},{"type":"WEB","url":"https://github.com/spatie/image-optimizer/commit/89847b55fbb44b3bcde0283bff8cc5abb5e51b82"},{"type":"PACKAGE","url":"https://github.com/spatie/image-optimizer"},{"type":"WEB","url":"https://github.com/spatie/image-optimizer/compare/1.7.2...1.7.3"}],"affected":[{"package":{"name":"spatie/image-optimizer","ecosystem":"Packagist","purl":"pkg:composer/spatie/image-optimizer"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","1.0.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.4.0","1.5.0","1.6.1","1.6.2","1.6.3","1.6.4","1.7.0","1.7.1","1.7.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-6pjm-hmvf-h4rr/GHSA-6pjm-hmvf-h4rr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}