PT-2023-31515 · Dompdf+1 · Dompdf+1

Bsweeney

·

Published

2023-12-13

·

Updated

2023-12-19

·

CVE-2023-50262

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Dompdf versions prior to 2.0.4
Description The issue arises when Dompdf parses SVG images, as it performs an initial validation to ensure that paths within the SVG are allowed. However, prior to version 2.0.4, a recursive chain using two or more SVG documents is not correctly validated. This could exhaust the memory available to the executing process and/or to the server itself. A malicious actor may trigger infinite recursion by chaining references between two or more SVG images, potentially causing resource exhaustion.
Recommendations For versions prior to 2.0.4, update to version 2.0.4 or later to resolve the issue. As a temporary workaround, consider disabling the processing of SVG images referenced by an image element until a patch is available. Restrict access to the php-svg-lib module to minimize the risk of exploitation. Avoid using the image element in SVG images until the issue is resolved.

Exploit

Fix

Uncontrolled Recursion

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-50262
GHSA-3QX2-6F78-W2J2

Affected Products

Debian
Dompdf