Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fast-xml-parser
  4. ›
  5. CVE-2024-41818

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

July 29, 2024 (updated October 11, 2024)

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

References

  • github.com/NaturalIntelligence/fast-xml-parser
  • github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js
  • github.com/NaturalIntelligence/fast-xml-parser/commit/ba5f35e7680468acd7906eaabb2f69e28ed8b2aa
  • github.com/NaturalIntelligence/fast-xml-parser/commit/d0bfe8a3a2813a185f39591bbef222212d856164
  • github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-mpg4-rc92-vx8v
  • github.com/advisories/GHSA-mpg4-rc92-vx8v
  • nvd.nist.gov/vuln/detail/CVE-2024-41818

Code Behaviors & Features

Detect and mitigate CVE-2024-41818 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.3.5 before 4.4.1

Fixed versions

  • 4.4.1

Solution

Upgrade to version 4.4.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity
  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/fast-xml-parser/CVE-2024-41818.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.