Skip to content

🚨 [security] Update eslint 9.15.0 → 9.39.2 (minor)#40

Open
depfu[bot] wants to merge 1 commit intonextfrom
depfu/update/npm/eslint-9.39.2
Open

🚨 [security] Update eslint 9.15.0 → 9.39.2 (minor)#40
depfu[bot] wants to merge 1 commit intonextfrom
depfu/update/npm/eslint-9.39.2

Conversation

@depfu
Copy link
Copy Markdown

@depfu depfu bot commented Jan 29, 2026


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ eslint (9.15.0 → 9.39.2) · Repo · Changelog

Security Advisories 🚨

🚨 eslint has a Stack Overflow when serializing objects with circular references

There is a Stack Overflow vulnerability in eslint before 9.26.0 when serializing objects with circular references in eslint/lib/shared/serialization.js. The exploit is triggered via the RuleTester.run() method, which validates test cases and checks for duplicates. During validation, the internal function checkDuplicateTestCase() is called, which in turn uses the isSerializable() function for serialization checks. When a circular reference object is passed in, isSerializable() enters infinite recursion, ultimately causing a Stack Overflow.

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​eslint/eslintrc (indirect, 3.2.0 → 3.3.3) · Repo · Changelog

Release Notes

3.3.3 (from changelog)

Bug Fixes

  • release v3.3.3 because publishing v3.3.2 failed (#211) (8aa555a)

3.3.1

3.3.1 (2025-03-11)

Bug Fixes

3.3.0

3.3.0 (2025-02-21)

Features

Does any of this look wrong? Please let us know.

↗️ @​eslint/js (indirect, 9.15.0 → 9.39.2) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ @​eslint/plugin-kit (indirect, 0.2.3 → 0.4.1) · Repo · Changelog

Security Advisories 🚨

🚨 @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 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

const { ConfigCommentParser } = require("@eslint/plugin-kit");

const str = <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s">"A"</span><span class="pl-kos">.</span><span class="pl-en">repeat</span><span class="pl-kos">(</span><span class="pl-c1">1000000</span><span class="pl-kos">)</span><span class="pl-kos">}</span></span>?: 1 B: 2;

console.log("start")
var parser = new ConfigCommentParser();
console.log(parser.parseJSONLikeConfig(str));
console.log("end")

// run npm i @eslint/plugin-kit@0.3.3 and node attack.js
// then the program will stuck forever with high CPU usage

Impact

This is a Regular Expression Denial of Service attack which may lead to blocking execution and high CPU usage.

Release Notes

0.4.1 (from changelog)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.16.0 to ^0.17.0

0.4.0 (from changelog)

Features

  • add support for getLocFromIndex and getIndexFromLoc (#212) (a3588d8)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.15.2 to ^0.16.0

0.3.5 (from changelog)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.15.1 to ^0.15.2

0.3.4 (from changelog)

Bug Fixes

  • potential quadratic runtime in regular expression (#240) (b283f64)

0.3.3 (from changelog)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.15.0 to ^0.15.1

0.3.2 (from changelog)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.14.0 to ^0.15.0

0.3.1 (from changelog)

Bug Fixes

0.2.8 (from changelog)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.12.0 to ^0.13.0

0.2.7 (from changelog)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.11.0 to ^0.12.0

0.2.6 (from changelog)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.10.0 to ^0.11.0

0.2.5 (from changelog)

Bug Fixes

  • make plugin-kit types usable in CommonJS (#143) (f77ba17)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @eslint/core bumped from ^0.9.1 to ^0.10.0

0.2.4 (from changelog)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • @eslint/core bumped from ^0.9.0 to ^0.9.1

Does any of this look wrong? Please let us know.

↗️ acorn (indirect, 8.14.0 → 8.15.0) · Repo

Commits

See the full diff on Github. The new version differs by 26 commits:

↗️ eslint-scope (indirect, 8.2.0 → 8.4.0) · Repo · Changelog

↗️ espree (indirect, 10.3.0 → 10.4.0) · Repo · Changelog

Release Notes

10.4.0 (from changelog)

Features

  • Add support for ES2026 using and await using declarations (#658) (39e0865)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • eslint-visitor-keys bumped from ^4.2.0 to ^4.2.1

Does any of this look wrong? Please let us know.

↗️ js-yaml (indirect, 4.1.0 → 4.1.1) · Repo · Changelog

Security Advisories 🚨

🚨 js-yaml has prototype pollution in merge (<<)

Impact

In js-yaml 4.1.0, 4.0.0, and 3.14.1 and below, it's possible for an attacker to modify the prototype of the result of a parsed yaml document via prototype pollution (__proto__). All users who parse untrusted yaml documents may be impacted.

Patches

Problem is patched in js-yaml 4.1.1 and 3.14.2.

Workarounds

You can protect against this kind of attack on the server by using node --disable-proto=delete or deno (in Deno, pollution protection is on by default).

References

https://cheatsheetseries.owasp.org/cheatsheets/Prototype_Pollution_Prevention_Cheat_Sheet.html

Release Notes

4.1.1 (from changelog)

Security

  • Fix prototype pollution issue in yaml merge (<<) operator.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 7 commits:

🆕 @​eslint/config-helpers (added, 0.4.2)

🆕 brace-expansion (added, 1.1.12)

🆕 eslint-visitor-keys (added, 4.2.1)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jan 29, 2026
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21486455955

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.831%

Totals Coverage Status
Change from base Build 15924915913: 0.0%
Covered Lines: 405
Relevant Lines: 461

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant