GHSA-86p3-4gfq-38f2 Denial of Service in url-relative
An attacker can cause a Denial of Service by passing equal values to the url-relative function, which hangs indefinitely.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-86p3-4gfq-38f2?
GHSA-86p3-4gfq-38f2 is a denial of service vulnerability in url-relative, published on 5 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of url-relative are vulnerable to Denial of Service. If the values to and from are equal, the function hangs and never returns. This may cause a Denial of Service.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Which versions are affected by GHSA-86p3-4gfq-38f2?
2 open source packages ship an affected version, including url-relative.
| Package | Affected | Fixed in |
|---|---|---|
url-relative npm | All versions to 1.0.0 | None |
url-relative npm | All versions to 1.0.0 | None |
How do I fix GHSA-86p3-4gfq-38f2?
No fix has been published for GHSA-86p3-4gfq-38f2 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 GHSA-86p3-4gfq-38f2 being exploited?
There is no known exploitation of GHSA-86p3-4gfq-38f2 in the wild and no public exploit code.