GitHub Advisoryadvisory · npm
GHSA-86p3-4gfq-38f2 Denial of Service in url-relative
MEDIUM
Official page ↗
- Ecosystem
- npm
- Packages
- url-relative
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2019-06-05
Affected packages
• npm url-relative: <= 1.0.0 (no fix yet)
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.
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness