{"id":"CVE-2021-3664","aliases":["CLSA-2026-1776904628","DEBIAN-CVE-2021-3664","DLA-3336-1","EUVD-2021-1746","GHSA-hh27-ffr2-f2jc","UBUNTU-CVE-2021-3664","USN-5973-1"],"status":"published","title":"Open Redirect in unshiftio/url-parse","description":"url-parse is vulnerable to URL Redirection to Untrusted Site","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02116,"percentile":0.81992,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-601"],"published":"2021-07-26T00:00:00Z","modified":"2026-10-23T18:03:16Z","fixes":[{"ecosystem":"npm","package":"url-parse","fixed_in":["1.5.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-url-parse","fixed_in":["1.5.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-url-parse","fixed_in":["1.5.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-url-parse","fixed_in":["1.5.3-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-url-parse","fixed_in":["1.0.5-2ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"node-url-parse","fixed_in":["1.2.0-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-url-parse","fixed_in":["1.4.7-3ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"1.5.2"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.7-tuxcare.0"},{"fixed":"1.4.7-tuxcare.1"}]}],"versions":["1.4.7"],"bundled":6},{"source":"osv","ecosystem":"Debian:12","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-2+deb10u2"}]}],"versions":["1.2.0-2","1.2.0-2+deb10u1"],"bundled":6},{"source":"osv","ecosystem":"npm","package":"url-parse","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"1.5.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5-2ubuntu0.1~esm2"}]}],"versions":["1.0.5-1","1.0.5-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-1ubuntu0.1"}]}],"versions":["1.0.5-2","1.2.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.7-3ubuntu0.1"}]}],"versions":["1.4.7-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5-2ubuntu0.1~esm2"}]}],"versions":["1.0.5-1","1.0.5-2"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-1ubuntu0.1"}]}],"versions":["1.0.5-2","1.2.0-1"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"node-url-parse","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.7-3ubuntu0.1"}]}],"versions":["1.4.7-3"],"bundled":8}],"products":[{"vendor":"unshiftio","product":"unshiftio/url-parse"},{"vendor":"url-parse_project","product":"url-parse"}],"references":[{"url":"https://huntr.dev/bounties/1625557993985-unshiftio/url-parse","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3664","tags":["advisory"]},{"url":"https://github.com/unshiftio/url-parse/issues/205","tags":["web"]},{"url":"https://github.com/unshiftio/url-parse/issues/206","tags":["web"]},{"url":"https://github.com/github/advisory-database/pull/6764","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hh27-ffr2-f2jc"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3664","tags":["advisory"]},{"url":"https://github.com/unshiftio/url-parse","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-3664","tags":["report"]},{"url":"https://huntr.dev/bounties/1625557993985-unshiftio/url-parse/","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5973-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3664","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-3774","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-8124","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-27515","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0512","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0639","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0686","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-0691","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-3664","title":"Open Redirect in unshiftio/url-parse","description":"url-parse is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2021-07-26T00:00:00Z","modified":"2024-08-03T17:01:07.943Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-1746","description":"url-parse is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2021-07-26T00:00:00Z","modified":"2024-08-03T17:01:07Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:25:12.535968Z"}],"ghsa":[{"id":"GHSA-hh27-ffr2-f2jc","title":"Open redirect in url-parse","description":"# Overview\n\nAffected versions of npm `url-parse` are vulnerable to URL Redirection to Untrusted Site.\n\n# Impact\n\nDepending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior.","status":"published","published":"2021-08-10T16:07:08Z","modified":"2026-02-03T22:12:27Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:39:22.637668Z"}],"nvd":[{"id":"CVE-2021-3664","description":"url-parse is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2021-07-26T12:15:08.907Z","modified":"2026-06-17T04:05:31.86Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:06:56.185362Z"}],"osv":[{"id":"CVE-2021-3664","description":"url-parse is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2021-07-26T12:15:08.907Z","modified":"2026-10-20T10:54:48.073677827Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.434873Z"},{"id":"DEBIAN-CVE-2021-3664","description":"url-parse is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2021-07-26T12:15:08.907Z","modified":"2026-10-23T18:03:16.29237444Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"GHSA-hh27-ffr2-f2jc","title":"Open redirect in url-parse","description":"# Overview\n\nAffected versions of npm `url-parse` are vulnerable to URL Redirection to Untrusted Site.\n\n# Impact\n\nDepending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior.","status":"published","published":"2021-08-10T16:07:08Z","modified":"2026-02-03T22:17:46.266125Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T15:46:49.28217Z"},{"id":"UBUNTU-CVE-2021-3664","description":"url-parse is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2021-07-26T12:15:00Z","modified":"2026-02-04T03:17:25.514509Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:27.870979Z"},{"id":"CLSA-2026-1776904628","title":"TuxCare security update for url-parse (6 CVEs)","description":"TuxCare rebuilt url-parse to address 6 CVEs. Fixed in 1.4.7-tuxcare.1.","status":"published","published":"2026-08-04T14:52:27Z","modified":"2026-10-15T09:45:46.409490603Z","updated_at":"2026-11-02T15:43:44.384419Z"},{"id":"DLA-3336-1","title":"node-url-parse - security update","status":"published","published":"2023-02-23T00:00:00Z","modified":"2026-03-09T01:18:04.734945Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"USN-5973-1","title":"node-url-parse vulnerabilities","description":"It was discovered that url-parse incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service, or to perform a server-side request forgery attack or open\nredirect attack. (CVE-2018-3774)\n\nIt was discovered that url-parse incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to bypass input\nvalidation. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2020-8124)\n\nYaniv Nizry discovered that url-parse incorrectly handled certain inputs.\nIf a user or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service, or to perform a server-side request forgery attack or open\nredirect attack. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2021-27515)\n\nIt was discovered that url-parse incorrectly handled certain inputs.\nIf a user or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to cause a\ndenial of service, or to perform a server-side request forgery attack or open\nredirect attack. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2021-3664)\n\nIt was discovered that url-parse incorrectly handled certain inputs. If a\nuser or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to bypass\nauthorization. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2022-0512, CVE-2022-0639, CVE-2022-0691)\n\nRohan Sharma discovered that url-parse incorrectly handled certain inputs.\nIf a user or an automated system were tricked into opening a specially crafted\ninput file, a remote attacker could possibly use this issue to bypass\nauthorization. This issue was only fixed in Ubuntu 18.04 LTS and\nUbuntu 20.04 LTS. (CVE-2022-0686)\n","status":"published","published":"2023-03-27T14:59:16Z","modified":"2026-06-25T13:31:55.291914058Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
