Vulnerability · Published May 5, 2024 · Assigned by mitre

CVE-2024-34515

High 8.8

In plain English

A high-severity unsafe deserialization in the spatie/image-optimizer package (Packagist). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.9%top 20.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistspatie/image-optimizer1.7.3GHSA-6pjm-hmvf-h4rr

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References