Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mpdf/mpdf
  4. ›
  5. CVE-2019-1000005

CVE-2019-1000005: Deserialization of Untrusted Data

May 14, 2022 (updated July 19, 2023)

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.

References

  • github.com/advisories/GHSA-3cwc-m7c2-qr86
  • github.com/mpdf/mpdf/issues/949
  • nvd.nist.gov/vuln/detail/CVE-2019-1000005

Code Behaviors & Features

Detect and mitigate CVE-2019-1000005 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 →

Affected versions

All versions up to 7.1.7

Fixed versions

  • 7.1.8

Solution

Upgrade to version 7.1.8 or above.

Impact 8.8 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/mpdf/mpdf/CVE-2019-1000005.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.