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

- Severity: High 8.7 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-11-15T20:47:31.000Z
- Modified: 2026-09-10T03:50:20.453Z
- Also known as: GHSA-7q7g-4xm8-89cq
- Weaknesses: CWE-770, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- @eslint/plugin-kit: before 0.2.3
- eslint rewrite: before 0.2.3
- @eslint/plugin-kit (npm): before 0.2.3

## Every score

- snyk: CVSS:4.0 8.7 High `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`
- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P`
- GitHub: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://security.snyk.io/vuln/SNYK-JS-ESLINTPLUGINKIT-8340627> (web)
- <https://github.com/eslint/rewrite/commit/071be842f0bd58de4863cdf2ab86d60f49912abf> (web)
- <https://github.com/eslint/rewrite/security/advisories/GHSA-7q7g-4xm8-89cq> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21539> (advisory)
- <https://github.com/eslint/rewrite> (package)

## Sources

- CVE List: [CVE-2024-21539](https://www.cve.org/CVERecord?id=CVE-2024-21539), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-7q7g-4xm8-89cq](https://github.com/advisories/GHSA-7q7g-4xm8-89cq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-21539](https://nvd.nist.gov/vuln/detail/CVE-2024-21539), Public domain, modified 2026-08-03

---

Page: https://cve.day/CVE-2024-21539 · Whole record: https://cve.day/CVE-2024-21539.json · Rebuilt by cve.day 2026-11-25T22:58:48.423Z
