CVE-2018-16478: Path Traversal in simplehttpserver
5.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.44211%
CWE
Published
12/6/2018
Updated
9/12/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
simplehttpserver | npm | <= 0.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly states improper handling of symlinks and path traversal. In simple HTTP
servers, the core vulnerability typically resides in the request handler that maps URLs to filesystem paths. Without proper path normalization (resolving '..' segments) or symlink validation
(checking if resolved path remains within webroot), this function
would be vulnerable. While exact implementation details aren't provided, this pattern matches the described CWE-22 vulnerability with high confidence.