Skip to content
OpenAdvisories
Medium · 5.9 GHSA-86p3-4gfq-38f2

Denial of Service in url-relative

Published Jun 5, 2019 · Updated Aug 4, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm url-relative <= 1.0.0 — GHSA-86p3-4gfq-38f2

References