{"api_version":"1","generated_at":"2026-07-23T12:49:38+00:00","cve":"CVE-2022-0512","urls":{"html":"https://cve.report/CVE-2022-0512","api":"https://cve.report/api/cve/CVE-2022-0512.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-0512","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-0512"},"summary":{"title":"CVE-2022-0512","description":"Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.","state":"PUBLIC","assigner":"security@huntr.dev","published_at":"2022-02-14 16:15:00","updated_at":"2023-02-23 03:15:00"},"problem_types":["CWE-639"],"metrics":[],"references":[{"url":"https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b","name":"https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b","refsource":"CONFIRM","tags":[],"title":"Authorization Bypass Through User-Controlled Key  vulnerability found in url-parse","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40","name":"https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40","refsource":"MISC","tags":[],"title":"[fix] Correctly handle userinfo containing the at sign · unshiftio/url-parse@9be7ee8 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","name":"[debian-lts-announce] 20230223 [SECURITY] [DLA 3336-1] node-url-parse security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3336-1] node-url-parse security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0512","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0512","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"512","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"url-parse_project","cpe5":"url-parse","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-0512","qid":"181604","title":"Debian Security Update for node-url-parse (DLA 3336-1)"},{"cve":"CVE-2022-0512","qid":"182257","title":"Debian Security Update for node-url-parse (CVE-2022-0512)"},{"cve":"CVE-2022-0512","qid":"199257","title":"Ubuntu Security Notification for url-parse Vulnerabilities (USN-5973-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@huntr.dev","ID":"CVE-2022-0512","STATE":"PUBLIC","TITLE":"Authorization Bypass Through User-Controlled Key in unshiftio/url-parse"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"unshiftio/url-parse","version":{"version_data":[{"version_affected":"<","version_value":"1.5.6"}]}}]},"vendor_name":"unshiftio"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-639 Authorization Bypass Through User-Controlled Key"}]}]},"references":{"reference_data":[{"name":"https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b","refsource":"CONFIRM","url":"https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b"},{"name":"https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40","refsource":"MISC","url":"https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230223 [SECURITY] [DLA 3336-1] node-url-parse security update","url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html"}]},"source":{"advisory":"6d1bc51f-1876-4f5b-a2c2-734e09e8e05b","discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-02-14 16:15:00","lastModifiedDate":"2023-02-23 03:15:00","problem_types":["CWE-639"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:url-parse_project:url-parse:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.5.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"512","Ordinal":"228026","Title":"CVE-2022-0512","CVE":"CVE-2022-0512","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"512","Ordinal":"1","NoteData":"Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.","Type":"Description","Title":null},{"CveYear":"2022","CveId":"512","Ordinal":"2","NoteData":"2022-02-14","Type":"Other","Title":"Published"},{"CveYear":"2022","CveId":"512","Ordinal":"3","NoteData":"2022-02-14","Type":"Other","Title":"Modified"}]}}}