Skip to content
OpenAdvisories
High · 8.8 CVE-2019-1000005 EUVD-2022-2163GHSA-3cwc-m7c2-qr86

mPDF Unsafe Deserialization

Published Feb 4, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method of Image/ImageProcessor class that can result in Arbitry code execution, file write, etc.. This attack appears to be exploitable via attacker must host crafted image on victim server and trigger generation of pdf file with content <img src="phar://path/to/crafted/image">. This vulnerability appears to have been fixed in 7.1.8.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mpdf/mpdf < 7.1.8 7.1.8 GHSA-3cwc-m7c2-qr86

References