NVD Vulnerability Detail
Search Exploit, PoC
CVE-2017-16021
Summary

uri-js is a module that tries to fully implement RFC 3986. One of these features is validating whether or not a supplied URL is valid or not. To do this, uri-js uses a regular expression, This regular expression is vulnerable to redos. This causes the program to hang and the CPU to idle at 100% usage while uri-js is trying to validate if the supplied URL is valid or not. To check if you're vulnerable, look for a call to `require("uri-js").parse()` where a user is able to send their own input. This affects uri-js 2.1.1 and earlier.

Publication Date June 5, 2018, 4:29 a.m.
Registration Date Jan. 26, 2021, 1:17 p.m.
Last Update Nov. 21, 2024, 12:15 p.m.
CVSS3.1 : MEDIUM
スコア 6.5
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:L/Au:S/C:N/I:N/A:C
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 単一
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:garycourt:uri-js:*:*:*:*:*:node.js:*:* 2.1.1
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
uri-js におけるリソースの枯渇に関する脆弱性
Title uri-js におけるリソースの枯渇に関する脆弱性
Summary

uri-js には、リソースの枯渇に関する脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 24, 2017, midnight
Registration Date Aug. 8, 2018, 11:01 a.m.
Last Update Aug. 8, 2018, 11:01 a.m.
Affected System
uri-js project
uri-js 2.1.1 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2018年08月08日]
  掲載
Aug. 8, 2018, 11:01 a.m.