CVE-2018-3734: Path Traversal in stattic
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68357%
CWE
Published
7/18/2018
Updated
1/31/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
stattic | npm | < 0.3.0 | 0.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The security patch adds path normalization to the request handler callback within module.exports.listen
. In vulnerable versions, this anonymous callback function (passed to http.createServer
) processes raw pathname
from the URL without normalization, allowing path traversal. While the function itself is anonymous, it is contained within and executed by the exported listen
method. Runtime profiling would show execution flow through module.exports.listen
when handling malicious requests, as this is the root function that configures the server and contains the vulnerable path handling logic.