GHSA-hrpp-f84w-xhfg Outdated Static Dependency in vue-moment
Outdated static dependency on vulnerable moment.js allows attackers to cause denial of service via regex processing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-hrpp-f84w-xhfg?
GHSA-hrpp-f84w-xhfg is a denial of service vulnerability in vue-moment, published on 4 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of vue-moment prior to 4.1.0 contain an Outdated Static Dependency. The package depends on moment and has it loaded statically instead of as a dependency that can be updated. It has [email protected] that contains a Regular Expression Denial of Service vulnerability.
Recommendation
Upgrade to version 4.1.0 or later.
Which versions are affected by GHSA-hrpp-f84w-xhfg?
2 open source packages ship an affected version, including vue-moment.
| Package | Affected | Fixed in |
|---|---|---|
vue-moment npm | All versions | 4.1.0 |
vue-moment npm | All versions | 4.1.0 |
How do I fix GHSA-hrpp-f84w-xhfg?
Upgrade vue-moment to 4.1.0 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 GHSA-hrpp-f84w-xhfg being exploited?
There is no known exploitation of GHSA-hrpp-f84w-xhfg in the wild and no public exploit code.