Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @eslint/plugin-kit
  4. ›
  5. CVE-2024-21539

CVE-2024-21539: Regular Expression Denial of Service (ReDoS) in @eslint/plugin-kit

November 15, 2024 (updated November 19, 2024)

Crafting a very large and well crafted string can increase the CPU usage and crash the program.

References

  • github.com/advisories/GHSA-7q7g-4xm8-89cq
  • github.com/eslint/rewrite
  • github.com/eslint/rewrite/commit/071be842f0bd58de4863cdf2ab86d60f49912abf
  • github.com/eslint/rewrite/security/advisories/GHSA-7q7g-4xm8-89cq
  • nvd.nist.gov/vuln/detail/CVE-2024-21539
  • security.snyk.io/vuln/SNYK-JS-ESLINTPLUGINKIT-8340627

Code Behaviors & Features

Detect and mitigate CVE-2024-21539 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 before 0.2.3

Fixed versions

  • 0.2.3

Solution

Upgrade to version 0.2.3 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

Source file

npm/@eslint/plugin-kit/CVE-2024-21539.yml

Spotted a mistake? Edit the file on GitLab.

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

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