CVE-2022-25839
CVSS V2 Medium 5
CVSS V3 Medium 5.3
Description
The package url-js before 2.1.0 are vulnerable to Improper Input Validation due to improper parsing, which makes it is possible for the hostname to be spoofed. http://\\\\\\\\localhost and http://localhost are the same URL. However, the hostname is not parsed as localhost, and the backslash is reflected as it is.
Overview
- CVE ID
- CVE-2022-25839
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-03-11T20:15:09
- Last Modified Date
- 2022-03-22T19:31:20
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:url-js_project:url-js:*:*:*:*:*:node.js:*:* | 1 | OR | 2.1.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/duzun/URL.js/commit/9dc9fcc99baa4cbda24403d81a589e9b0f4121d0 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-URLJS-2414030 | Exploit Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-25839 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25839 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:44:48 | Added to TrackCVE | |||
2022-12-06 12:08:49 | 2022-03-11T20:15Z | 2022-03-11T20:15:09 | CVE Published Date | updated |
2022-12-06 12:08:49 | 2022-03-22T19:31:20 | CVE Modified Date | updated | |
2022-12-06 12:08:49 | Analyzed | Vulnerability Status | updated |