CVE-2024-21539 json
Regular Expression Denial of Service (ReDoS) in @eslint/plugin-kit
published last yr. modified 2mo ago also EUVD-2024-3213 , GHSA-7q7g-4xm8-89cq
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
Versions of the package @eslint/plugin-kit before 0.2.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by exploiting this vulnerability.
Patch / fix
- npm @eslint/plugin-kit 0.2.3
- n/a @eslint/plugin-kit 0.2.3
- eslint rewrite 0.2.3
Is CVE-2024-21539 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21539 updated cvss 7.5
@eslint/plugin-kit: ReDoS Vulnerability in @eslint/plugin-kit
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| CNA | 4.0 | 7.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @eslint/plugin-kit | <0.2.3 |
0.2.3 |
Affected products
- n/a @eslint/plugin-kit
- eslint rewrite
Classification
References
-
github.com
/eslint/rewrite/commit/071be842f0bd58de4863cdf2ab86d60f49912abf
web
-
security.snyk.io
/vuln/SNYK-JS-ESLINTPLUGINKIT-8340627
web
-
github.com
/eslint/rewrite/security/advisories/GHSA-7q7g-4xm8-89cq
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-21539
advisory
-
github.com
/eslint/rewrite
package
Sources
- CVE List CVE-2024-21539
- GitHub Advisory GHSA-7q7g-4xm8-89cq
- NVD CVE-2024-21539
- Maintainer advisory GHSA-7q7g-4xm8-89cq
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of eslint/rewrite published their own advisory on GitHub. Reviewed sources take precedence over it.