GHSA-mpg4-rc92-vx8vHighCVSS 7.5

fast-xml-parser vulnerable to ReDOS at currency parsing

Published
July 29, 2024
Last Modified
October 11, 2024

🔗 CVE IDs covered (1)

📋 Description

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

🎯 Affected products1

  • npm/fast-xml-parser:>= 4.3.5, < 4.4.1

🔗 References (6)