GitHub Advisoryadvisory · Packagist

GHSA-3cwc-m7c2-qr86 mPDF Unsafe Deserialization

HIGH Published 2022-05-14 Modified 2023-09-28 Official page ↗
Aliases
CVE-2019-1000005
Ecosystem
Packagist
Packages
mpdf/mpdf
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-502
Reviewed
2023-07-19

Affected packages

• Packagist mpdf/mpdf: < 7.1.8 → fixed in 7.1.8

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 ``. This vulnerability appears to have been fixed in 7.1.8.

Related

Alias · CVE (1)

  • CVE-2019-1000005 mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method of… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References