CVE-2022-37262 steal vulnerable to Regular Expression Denial of Service via source and sourceWithComments
An attacker can cause a denial of service in applications using the stealjs library by triggering a Regular Expression Denial of Service flaw.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-37262?
CVE-2022-37262 is a high-severity denial of service vulnerability in n/a, published on 15 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-1333
Which versions are affected by CVE-2022-37262?
2 open source packages ship an affected version, including steal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
steal npm | All versions to 2.3.0 | None |
steal npm | All versions to 2.3.0 | None |
Products include Stealjs Steal.
How do I fix CVE-2022-37262?
No fix has been published for CVE-2022-37262 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-37262 being exploited?
There is no known exploitation of CVE-2022-37262 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-37265 steal vulnerable to Prototype Pollution via alias variable
- CVE-2022-37258 steal vulnerable to Prototype Pollution
- CVE-2022-37257 steal vulnerable to Prototype Pollution via requestedVersion variable
- CVE-2022-37264 steal vulnerable to Prototype Pollution via optionName variable
- CVE-2022-37266 steal vulnerable to Prototype Pollution via key variable in babel.js
Sources
Also known as GHSA-28v4-jf82-jvj8.