p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости @eslint/plugin-kit

За последние 30 дней в @eslint/plugin-kit опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 2

  1. GHSA-xffm-g5w8-qvg7

    Низкий · CVSS 2.3Есть исправление

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

    ### Summary 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](https://github.com/eslint/rewrite/blob/bd4bf23c59f0e4886df671cdebd5abaeb1e0d916/packages/plugin-kit/src/config-comment-parser.js#L158) 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 ```javascript const { ConfigCommentParser } = require("@eslint/plugin-kit"); const

    • Обновитесь до 0.3.4
    Опубликовано Обновлено
  2. CVE-2024-21539

    Высокий · CVSS 8.7EPSS 0,51%Есть исправление

    CVE-2024-21539

    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.

    • Обновитесь до 0.2.3
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →