CVE-2020-26291
CVSS V2 Medium 4
CVSS V3 Medium 6.5
Description
URI.js is a javascript URL mutation library (npm package urijs). In URI.js before version 1.19.4, the hostname can be spoofed by using a backslash (`\`) character followed by an at (`@`) character. If the hostname is used in security decisions, the decision may be incorrect. Depending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior. For example the URL `https://expected-example.com\@observed-example.com` will incorrectly return `observed-example.com` if using an affected version. Patched versions correctly return `expected-example.com`. Patched versions match the behavior of other parsers which implement the WHATWG URL specification, including web browsers and Node's built-in URL class. Version 1.19.4 is patched against all known payload variants. Version 1.19.3 has a partial patch but is still vulnerable to a payload variant.]
Overview
- CVE ID
- CVE-2020-26291
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-12-31T00:15:12
- Last Modified Date
- 2022-11-29T15:00:40
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:uri.js_project:uri.js:*:*:*:*:*:*:*:* | 1 | OR | 1.19.4 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://www.npmjs.com/package/urijs | Third Party Advisory |
https://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg | Third Party Advisory |
https://github.com/medialize/URI.js/releases/tag/v1.19.4 | Release Notes Third Party Advisory |
https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-26291 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26291 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:28:32 | Added to TrackCVE | |||
2022-12-05 19:06:58 | 2020-12-31T00:15Z | 2020-12-31T00:15:12 | CVE Published Date | updated |
2022-12-05 19:06:58 | 2022-11-29T15:00:40 | CVE Modified Date | updated | |
2022-12-05 19:06:58 | Analyzed | Vulnerability Status | updated |