Open-source package vulnerability · Composer (PHP)
CVE-2024-34515: image-optimizer allows PHAR deserialization
highCVSS 4.0 8.7 · 3.1 8.8GHSA-6pjm-hmvf-h4rr
image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to fileexists().
Published May 5, 2024 · Updated Aug 21, 2024
Affected packages
spatie/image-optimizer
- Ecosystem
- Composer (PHP)
- Affected
- < 1.7.3
- Fixed in
- 1.7.3
- Check
composer show spatie/image-optimizer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-34515
- https://github.com/spatie/image-optimizer/issues/210
- https://github.com/spatie/image-optimizer/pull/211
- https://github.com/spatie/image-optimizer/compare/1.7.2...1.7.3
- https://github.com/spatie/image-optimizer/commit/89847b55fbb44b3bcde0283bff8cc5abb5e51b82
- https://github.com/advisories/GHSA-6pjm-hmvf-h4rr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
