CVE-2024-34515: image-optimizer allows PHAR deserialization
(updated )
image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar://
protocol in arguments to file_exists()
.
References
- github.com/advisories/GHSA-6pjm-hmvf-h4rr
- github.com/spatie/image-optimizer
- github.com/spatie/image-optimizer/commit/89847b55fbb44b3bcde0283bff8cc5abb5e51b82
- github.com/spatie/image-optimizer/compare/1.7.2...1.7.3
- github.com/spatie/image-optimizer/issues/210
- github.com/spatie/image-optimizer/pull/211
- nvd.nist.gov/vuln/detail/CVE-2024-34515
Detect and mitigate CVE-2024-34515 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →