Service hang via inefficient URL parsing regex
Published Feb 16, 2024 · Updated Aug 22, 2024
Regular expression denial of service in Alan Clarke urlite 3.1.0 allows remote attackers to hang consuming services via a crafted URL. The parse() function applies the single expression in lib/pattern.js to an unbounded sequence of tab-and-colon characters, causing excessive processing time. Exposure requires a Node.js or web application to pass attacker-controlled URL text to parse(); repeated inputs can keep that application unavailable.
Summary
What happened
Regular expression denial of service in Alan Clarke urlite 3.1.0 allows remote attackers to hang consuming services via a crafted URL. The parse() function applies the single expression in lib/pattern.js to an unbounded sequence of tab-and-colon characters, causing excessive processing time. Exposure requires a Node.js or web application to pass attacker-controlled URL text to parse(); repeated inputs can keep that application unavailable.
The record
- CVE
- CVE-2023-51931
- Published
- Feb 16, 2024
- Updated
- Aug 22, 2024
- Vendor
- Alan Clarke
- Product
- urlite
- Classifications
- CWE-1333, CWE-20, T1499.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 16, 2024CVE publishedPublication date reported by the CVE source.
- Aug 22, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.1.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Security issue inside urlite through version 3.1.0proof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo