CVE-2018-3774
nodejs-url-parse: incorrect hostname in url parsing
Overview
Description
Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.
Source: OX vulnerability database
Severity
10 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness: CWE-425, CWE-601, CWE-918
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | url-parse | >=1.0.0, <1.4.3<1.4.3 | 1.4.3 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
debian 5 releases · 1 package
fixed 5
node-url-parse
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-url-parse | 1.2.0-2 |
| 12 | node-url-parse | 1.2.0-2 |
| 13 | node-url-parse | 1.2.0-2 |
| 14 | node-url-parse | 1.2.0-2 |
| 9 | node-url-parse | 1.0.5-2+deb9u1 |
echo 1 release · 1 package
fixed 1
node-url-parse
| Release | Package | Fixed in |
|---|---|---|
| node-url-parse | 1.2.0-2 |
ubuntu 2 releases · 1 package
fixed 2
node-url-parse
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | node-url-parse | 1.2.0-1ubuntu0.1 |
| 18.04-ESM | node-url-parse | 1.2.0-1ubuntu0.1 |
References
- 0xahmed.ninja http://0xahmed.ninja/
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-3774
- github.com https://github.com/unshiftio/url-parse
- github.com https://github.com/unshiftio/url-parse/commit/209c296d302317268afbe19700a70c63ecbeb2d2
- github.com https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a
- github.com https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de
- github.com https://github.com/unshiftio/url-parse/compare/0.2.3...1.0.0
- hackerone.com https://hackerone.com/reports/384029
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-3774
- ubuntu.com https://ubuntu.com/security/notices/USN-5973-1
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.