External Control of System or Configuration Setting Affecting php-dompdf-svg-lib package, versions <0.5.1-1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.15% (52nd 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-6124843
  • published14 Dec 2023
  • disclosed12 Dec 2023

Introduced: 12 Dec 2023

CVE-2023-50252  (opens in a new tab)
CWE-15  (opens in a new tab)
CWE-502  (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 handling &lt;use&gt; tag that references an &lt;image&gt; tag, it merges the attributes from the &lt;use&gt; tag to the &lt;image&gt; tag. The problem pops up especially when the href attribute from the &lt;use&gt; tag has not been sanitized. This can lead to an unsafe file read that can cause PHAR Deserialization vulnerability in PHP prior to version 8. Version 0.5.1 contains a patch for this issue.

CVSS Scores

version 3.1