cve.bz

CVE-2024-21539

7.7 highEPSS 0.5%Fix available

High (7.7). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in @eslint/plugin-kit 0.2.3.

On this page
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.

Severity

CVSS 4.0

7.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

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-11-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @eslint/plugin-kit (npm): fixed in 0.2.3

Ask an AI about this CVE

Show the promptExplain CVE-2024-21539 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-21539?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-21539?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-21539 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7q7g-4xm8-89cqnpm@eslint/plugin-kit<0.2.30.2.3

Red Hat

Red Hat rates this Important.

Red Hat's statement

IMPORTANT impact: The ReDoS vulnerability in @eslint/plugin-kit can be exploited remotely without authentication or user interaction by supplying input that triggers excessive regular-expression processing, causing high CPU consumption and potentially crashing the affected program. Red Hat Ansible Services, specifically the ansible-ai-connect-service update stream, is currently assessed as NOTAFFECTED; the current record provides no additional product-specific rationale, so no more specific reason is asserted. The Red Hat assessment is consistent with the upstream CVSS 3.1 IMPORTANT severity of 7.5, while its affected-product scope is limited to the package assessment and does not include this Red Hat product.

Red Hat's mitigation

Upgrade @eslint/plugin-kit to a vendor-fixed release. Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-21539.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON