Uncontrolled Recursion Affecting php-dompdf-svg-lib package, versions <0.5.1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-PHPDOMPDFSVGLIB-6124841
  • published14 Dec 2023
  • disclosed12 Dec 2023

Introduced: 12 Dec 2023

CVE-2023-50251  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Debian:13 php-dompdf-svg-lib to version 0.5.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-dompdf-svg-lib package and not the php-dompdf-svg-lib package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when parsing the attributes passed to a use tag inside an svg document, an attacker can cause the system to go to an infinite recursion. Depending on the system configuration and attack pattern this could exhaust the memory available to the executing process and/or to the server itself. An attacker sending multiple request to a system to render the above payload can potentially cause resource exhaustion to the point that the system is unable to handle incoming request. Version 0.5.1 contains a patch for this issue.

CVSS Scores

version 3.1