-
Notifications
You must be signed in to change notification settings - Fork 73
Description
CVE-2025-50537 - Medium Severity Vulnerability
Vulnerable Libraries - eslint-8.57.0.tgz, eslint-8.57.1.tgz
eslint-8.57.0.tgz
Library home page: https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz
Path to dependency file: /ui/package.json
Path to vulnerable library: /ui/package.json
Dependency Hierarchy:
- @postgres.ai/ce-4.0.3.tgz (Root Library)
- eslint-plugin-cypress-2.14.0.tgz
- ❌ eslint-8.57.0.tgz (Vulnerable Library)
- eslint-plugin-cypress-2.14.0.tgz
eslint-8.57.1.tgz
An AST-based pattern checker for JavaScript.
Library home page: https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz
Path to dependency file: /ui/package.json
Path to vulnerable library: /ui/package.json
Dependency Hierarchy:
- @postgres.ai/ce-4.0.3.tgz (Root Library)
- react-scripts-5.0.1.tgz
- ❌ eslint-8.57.1.tgz (Vulnerable Library)
- react-scripts-5.0.1.tgz
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2026-01-26
URL: CVE-2025-50537
CVSS 3 Score Details (5.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Release Date: 2026-01-26
Fix Resolution: eslint - 9.26.0,https://github.com/eslint/eslint.git - v9.26.0
Step up your Open Source Security Game with Mend here