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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-34104— Regex Injection via Doctype Entities

Quick assessment

Affected
NaturalIntelligence fast-xml-parser
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.

fast-xml-parser是Natural Intelligence开源的一个库。用于在没有基于 C/C++ 的库和回调的情况下,快速验证 XML、解析 XML 和构建 XML。 fast-xml-parser v4.2.4之前版本存在安全漏洞,该漏洞源于fast-xml-parser 允许实体名称中的特殊字符,这些字符不会被转义或清理。

CVSS 7.5 · High EPSS 1.13% · P65
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-34104

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
Regex Injection via Doctype Entities
Source: CVE Program / CVE List V5
Vulnerability Description
fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters in entity names, which are not escaped or sanitized. Since the entity name is used for creating a regex for searching and replacing entities in the XML body, an attacker can abuse it for denial of service (DoS) attacks. By crafting an entity name that results in an intentionally bad performing regex and utilizing it in the entity replacement step of the parser, this can cause the parser to stall for an indefinite amount of time. This problem has been resolved in v4.2.4. Users are advised to upgrade. Users unable to upgrade should avoid using DOCTYPE parsing by setting the `processEntities: false` option.
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:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
fast-xml-parser 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
fast-xml-parser是Natural Intelligence开源的一个库。用于在没有基于 C/C++ 的库和回调的情况下,快速验证 XML、解析 XML 和构建 XML。 fast-xml-parser v4.2.4之前版本存在安全漏洞,该漏洞源于fast-xml-parser 允许实体名称中的特殊字符,这些字符不会被转义或清理。
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
NaturalIntelligence fast-xml-parser >= 4.1.3, < 4.2.4 -

II. Public POCs for CVE-2023-34104

# 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-34104

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

Patches & Fixes for CVE-2023-34104 (2)

Vendor Advisories for CVE-2023-34104 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-34104

No comments yet


Leave a comment