CVE-2018-25077 melnaron mel-spintax spintax.js redos
Attackers can cause denial of service in mel-spintax by providing input that triggers inefficient regular expression complexity.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-25077?
CVE-2018-25077 is a low-severity denial of service vulnerability in melnaron mel-spintax, published on 18 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in melnaron mel-spintax. It has been rated as problematic. Affected by this issue is some unknown functionality of the file lib/spintax.js. The manipulation of the argument text leads to inefficient regular expression complexity. The name of the patch is 37767617846e27b87b63004e30216e8f919637d3. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-218456.
Weakness: CWE-1333
Which versions are affected by CVE-2018-25077?
2 open source packages ship an affected version, including mel-spintax. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mel-spintax npm | All versions | 1.0.3 |
mel-spintax npm | All versions | 1.0.3 |
Products include Mel-Spintax Project Mel-Spintax.
How do I fix CVE-2018-25077?
Upgrade mel-spintax to 1.0.3 or later.
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-2018-25077 being exploited?
There is no known exploitation of CVE-2018-25077 in the wild and no public exploit code.
Sources
Also known as GHSA-qjm7-55vv-3c5f.