GHSA-3cwc-m7c2-qr86

    Dashboard / Vulnerabilities / GHSA-3cwc-m7c2-qr86

    GHSA-3cwc-m7c2-qr86

    Published: 14 May 2022Last Modified: 16 Feb 2024

    Summary: mPDF Unsafe Deserialization

    Details: 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

    Package

    Name: mpdf/mpdf

    Purl: pkg:composer/mpdf/mpdf

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -7.1.8

    Affected versions

    7.0.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High