CVE-2015-8315 Regular Expression Denial of Service in ms
Attackers can cause denial of service via CPU consumption using long version strings in the Node.js ms package.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-8315?
CVE-2015-8315 is a high-severity denial of service vulnerability in n/a, published on 23 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The ms package before 0.7.1 for Node.js allows attackers to cause a denial of service (CPU consumption) via a long version string, aka a "regular expression denial of service (ReDoS)."
Weakness: CWE-1333
Which versions are affected by CVE-2015-8315?
2 open source packages ship an affected version, including ms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ms npm | All versions | 0.7.1 |
ms npm | All versions | 0.7.1 |
Products include Vercel Ms.
How do I fix CVE-2015-8315?
Upgrade ms to 0.7.1 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-2015-8315 being exploited?
There is no known exploitation of CVE-2015-8315 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-3fx5-fwvr-xrjg.