CVE-2024-34515
HIGH 8.8CVSS 3.1image-optimizer allows PHAR deserialization
image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().
- Published
- 5 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-502
- Also known as
- GHSA-6pjm-hmvf-h4rr
- Sources
- NVDJSONOSV GHSA-6pjm-hmvf-h4rrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | spatie/image-optimizer | < 1.7.3 | 1.7.3 |
References
- https://github.com/spatie/image-optimizer/compare/1.7.2...1.7.3 · WEB
- https://github.com/spatie/image-optimizer/issues/210 · WEB
- https://github.com/spatie/image-optimizer/pull/211 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-34515 · ADVISORY
- https://github.com/spatie/image-optimizer/commit/89847b55fbb44b3bcde0283bff8cc5abb5e51b82 · WEB
- https://github.com/spatie/image-optimizer · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 May 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2024)