PT-2024-29584 · Unknown · Fast-Xml-Parser
Gauss-Security
·
Published
2024-07-29
·
Updated
2026-03-09
·
CVE-2024-41818
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
fast-xml-parser versions prior to 4.4.1
Description
A ReDOS issue exists in the currency.js component of the fast-xml-parser library, specifically affecting the experimental version 5. This issue can cause a denial of service during currency parsing. The vulnerable code contains a regex in the currency.js file. To exploit this issue, an attacker can pass a specially crafted string, such as 't'.repeat(13337) + '.', which can lead to a denial of service.
Recommendations
For fast-xml-parser versions prior to 4.4.1, update to version 4.4.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the currency parsing functionality in experimental version 5 of the fast-xml-parser library until the issue is resolved.
Exploit
Fix
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Fast-Xml-Parser