Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-50251— php-svg-lib possible DoS caused by infinite recursion when parsing SVG document

Quick assessment

Affected
dompdf php-svg-lib
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

php-svg-lib是dompdf开源的一个 SVG 文件解析/渲染库。 php-svg-lib 0.5.1 之前版本存在安全漏洞,该漏洞源于当解析传递给 svg 文档内的 use标签的属性时,可能会导致系统进入无限递归,耗尽可用的内存。

CVSS 5.3 · Medium EPSS 0.88% · P58
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-50251

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
php-svg-lib possible DoS caused by infinite recursion when parsing SVG document
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5
Vulnerability Title
php-svg-lib 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
php-svg-lib是dompdf开源的一个 SVG 文件解析/渲染库。 php-svg-lib 0.5.1 之前版本存在安全漏洞,该漏洞源于当解析传递给 svg 文档内的 use标签的属性时,可能会导致系统进入无限递归,耗尽可用的内存。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
dompdf php-svg-lib < 0.5.1 -

II. Public POCs for CVE-2023-50251

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-50251

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-50251 (1)

Vendor Advisories for CVE-2023-50251 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-50251

No comments yet


Leave a comment