GitHub Advisory Database
GHSA-28v4-jf82-jvj8
steal vulnerable to Regular Expression Denial of Service via source and sourceWithComments
Details
A Regular Expression Denial of Service (ReDoS) flaw was found in stealjs steal via the source and sourceWithComments variable in main.js.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | steal | All versions up to and including 2.3.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-37262
- https://github.com/stealjs/steal/issues/1531
- https://github.com/stealjs/steal
- https://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3497
- https://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3507