Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. steal
  4. ›
  5. CVE-2022-37262

CVE-2022-37262: Uncontrolled Resource Consumption

September 15, 2022 (updated August 8, 2023)

A Regular Expression Denial of Service (ReDoS) flaw was found in stealjs steal 2.2.4 via the source and sourceWithComments variable in main.js.

References

  • github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js
  • github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js
  • github.com/stealjs/steal/issues/1531
  • nvd.nist.gov/vuln/detail/CVE-2022-37262

Code Behaviors & Features

Detect and mitigate CVE-2022-37262 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 2.2.4

Fixed versions

  • 2.3.0

Solution

Upgrade to version 2.3.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/steal/CVE-2022-37262.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.