Skip to content

← Public intelligence

npm package

@eslint/plugin-kit

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 2.3npmAmendedPublished

    @eslint/plugin-kit is vulnerable to Regular Expression Denial of Service attacks through ConfigCommentParser

    GHSA-xffm-g5w8-qvg7

    Affected
    • npm @eslint/plugin-kit < 0.3.4
    Fixed in
    0.3.4· Vendor fix available
    Issue
    The ConfigCommentParser#parseJSONLikeConfig API is vulnerable to a Regular Expression Denial of Service (ReDoS) attack in its only argument. Details The regular expression at packages/plugin-kit/src/config-comment-parser.js:158 is vulnerable to a quadratic runtime attack because the grouped expression is not anchored. This can be solved by prepending the regular expression with [^-a-zA-Z0-9/]. PoC Impact This is a Regular Expression Denial of Service attack which may lead to blocking execution and high CPU usage.

    Recommended action: Upgrade to 0.3.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Low, CVSS 3.5npmAmendedPublished

    Regular Expression Denial of Service (ReDoS) in @eslint/plugin-kit

    CVE-2024-21539 · GHSA-7q7g-4xm8-89cq

    Affected
    • npm @eslint/plugin-kit < 0.2.3
    Fixed in
    0.2.3· Vendor fix available
    Issue
    Crafting a very large and well crafted string can increase the CPU usage and crash the program. POC

    Recommended action: Upgrade to 0.2.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →