Loading HuntDB...

CVE-2017-16021

UNKNOWN
Published 2018-06-04T19:00:00Z
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2017-16021. We'll provide specific mitigation strategies based on your environment and risk profile.

No CVSS data available

Description

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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

Affected Products

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed MODERATE

Regular Expression Denial Of Service in uri-js

GHSA-333w-rxj3-f55r

Advisory Details

Affected versions of `uri-js` is susceptible to a regular expression denial of service vulnerability when user input is sent to the `.parse()` method. ## Recommendation Update to v3.0.0 or later.

Affected Packages

npm uri-js
ECOSYSTEM: ≥0 <3.0.0

CVSS Scoring

CVSS Score

5.0

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Advisory provided by GitHub Security Advisory Database. Published: July 24, 2018, Modified: April 22, 2024

References

Published: 2018-06-04T19:00:00Z
Last Modified: 2024-09-17T01:46:00.192Z
Copied to clipboard!