stealjs/steal · Security
steal vulnerable to Regular Expression Denial of Service via source and sourceWithComments
- GHSA ID
- GHSA-28v4-jf82-jvj8
- CVE ID
- CVE-2022-37262
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
A Regular Expression Denial of Service (ReDoS) flaw was found in stealjs steal via the source and sourceWithComments variable in main.js.
CWEs
- CWE-1333 · Inefficient Regular Expression Complexity
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-37262 ↗
- https://github.com/stealjs/steal/issues/1531 ↗
- https://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3497 ↗
- https://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3507 ↗
- https://github.com/advisories/GHSA-28v4-jf82-jvj8 ↗