Intel

AIKIDO-2025-10206

parse-uri is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS)CVE-2024-36751

43

Medium Risk

This Affects:

jsparse-uri
1.0.0 - 1.0.10
Fixed in 1.0.11

TL;DR

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) due to inefficient regex validation in URL parsing. An attacker can exploit this by providing an excessively long URL with repeating characters, leading to high CPU consumption and potential application downtime.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

parse-uri is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 1.0.0 - 1.0.10.

How to fix this

Upgrade the parse-uri library to the patch version.