NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-41818: fast-xml-parser vulnerable to ReDOS at currency parsing

highCVSS 4.0 8.7 · 3.1 7.5GHSA-mpg4-rc92-vx8v

Summary A ReDOS that exists on currency.js was discovered by Gauss Security Labs R&D team. Details https://github.com/NaturalIntelligence/fast-xml-parser/blob/v4.4.0/src/v5/valueParsers/currency.js#L10 contains a vulnerable regex PoC pass the following string '\t'.repeat(13337) + '.' Impact Denial of service during currency parsing in experimental version 5 of fast-xml-parser-library https://gauss-security.com

Published Jul 29, 2024 · Updated Oct 11, 2024

Affected packages

fast-xml-parser

Ecosystem
npm
Affected
>= 4.3.5, < 4.4.1
Fixed in
4.4.1
Check
npm ls fast-xml-parser

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

A ReDOS that exists on currency.js was discovered by Gauss Security Labs R&D team.

Details

https://github.com/NaturalIntelligence/fast-xml-parser/blob/v4.4.0/src/v5/valueParsers/currency.js#L10 contains a vulnerable regex

PoC

pass the following string '\t'.repeat(13337) + '.'

Impact

Denial of service during currency parsing in experimental version 5 of fast-xml-parser-library

https://gauss-security.com

Credited to Gauss-Security, amitguptagwl, iamvolvo, aaron-belenky.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries