CVE-2023-26104:
Denial of Service vulnerability in lite-web-server
7.5
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
2/25/2023
Updated
2/27/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
lite-web-server | npm | <= 1.2.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from line 274 of WebServer.js where decodeURIComponent() is directly applied to req.url. This function throws URIError when encountering invalid encoded URI components, which isn't caught by any try/catch block. Attackers can exploit this by sending specially crafted URLs with invalid encoding, causing unhandled exceptions that terminate the server process. The advisory explicitly references this line, and the lack of error handling around URI decoding is a well-known pattern for DoS vulnerabilities in Node.js servers.