Vulnerability · Published Jul 29, 2024 · Assigned by GitHub_M
CVE-2024-41818ReDOS at currency parsing fast-xml-parser
High 7.5
In plain English
A high-severity uncontrolled resource consumption in fast-xml-parser from NaturalIntelligence. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 42.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | fast-xml-parser | 4.4.1 | GHSA-mpg4-rc92-vx8v |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NaturalIntelligence | fast-xml-parser | >= 4.3.5, < 4.4.1 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-mpg4-rc92-vx8v x_refsource_CONFIRM
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/ba5f35e7680468acd7906eaabb2f69e28ed8b2aa x_refsource_MISC
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/d0bfe8a3a2813a185f39591bbef222212d856164 x_refsource_MISC
- https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10 x_refsource_MISC