CVE-2024-36751 parse-uri Regular expression Denial of Service (ReDoS)
Attackers can cause a denial of service in applications using parse-uri by sending crafted URLs that trigger excessive CPU usage.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-36751?
CVE-2024-36751 is a medium-severity denial of service vulnerability in n/a, published on 15 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue in parse-uri v1.0.9 allows attackers to cause a Regular expression Denial of Service (ReDoS) via a crafted URL.
Weakness: CWE-1333
Which versions are affected by CVE-2024-36751?
4 open source packages ship an affected version, including parse-uri and parseuri.
| Package | Affected | Fixed in |
|---|---|---|
parse-uri npm | All versions to 1.0.9 | None |
parse-uri npm | All versions to 1.0.9 | None |
parseuri npm | All versions | None |
parseuri npm | All versions | None |
How do I fix CVE-2024-36751?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-36751 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36751 exists.
Sources
Also known as CLSA-2026-1774916742, GHSA-6fx8-h7jm-663j.