{"id":"GHSA-86p3-4gfq-38f2","summary":"Denial of Service in url-relative","details":"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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","modified":"2021-08-04T21:31:03Z","published":"2019-06-05T14:10:34Z","database_specific":{"github_reviewed_at":"2019-06-05T13:46:47Z","nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/junosuarez/url-relative/issues/3"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-URLRELATIVE-173691"},{"type":"WEB","url":"https://www.npmjs.com/advisories/783"}],"affected":[{"package":{"name":"url-relative","ecosystem":"npm","purl":"pkg:npm/url-relative"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-86p3-4gfq-38f2/GHSA-86p3-4gfq-38f2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}