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

Published Jul 29, 2024
·
Updated

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

Other sources

fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.

MITRE

Natural Intelligence fast-xml-parser is vulnerable to a denial of service, caused by a regular expression denial of service (ReDoS) flaw in the currency.js script. By sending a specially crafted regex input, a remote attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

5 affected componentsFixes available
npm/fast-xml-parser>=4.3.5<4.4.1
4.4.1
Fast-xml-parser Project Fast-xml-parser Node.js=4.2.4
IBM Planning Analytics<=2.1
IBM Planning Analytics<=2.0
NaturalIntelligence fast-xml-parser=4.2.4

Event History

Jul 29, 2024
CVE Published
via MITRE·03:56 PM
Data Sourced
via MITRE·03:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·04:24 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·05:46 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41818?

CVE-2024-41818 has a moderate severity level due to the potential for a Regular Expression Denial of Service (ReDOS).

2

How do I fix CVE-2024-41818?

To fix CVE-2024-41818, update the fast-xml-parser package to version 4.4.1 or later.

3

Which versions of fast-xml-parser are affected by CVE-2024-41818?

CVE-2024-41818 affects fast-xml-parser versions from 4.3.5 up to 4.4.0, as well as version 4.2.4.

4

What type of vulnerability is CVE-2024-41818?

CVE-2024-41818 is classified as a Regular Expression Denial of Service (ReDOS) vulnerability.

5

Who discovered CVE-2024-41818?

CVE-2024-41818 was discovered by the Gauss Security Labs R&D team.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203