Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
esm.sh: Legacy Route Path Traversal Can Lead to RCE
Vulnerability Description
esm.sh is a no-build content delivery network (CDN) for web development. In 137 and earlier, the legacy router first retrieves a response from legacyServer, parses the incoming request path, and ultimately writes the data to storage via buildStorage.Put. The router concatenates the path components without sanitizing them, producing a storage key. When this key is used, the underlying file system resolves the relative segments and writes the file to the specified path. Thus an attacker can craft a request that writes data to arbitrary locations on the server.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
esm.sh 路径遍历漏洞
Vulnerability Description
esm.sh是esm.sh开源的一个内容分发网络。 esm.sh 137及之前版本存在路径遍历漏洞,该漏洞源于旧版路由器在拼接路径组件时未进行清理,导致攻击者可以构造请求将数据写入服务器上的任意位置。
CVSS Information
N/A
Vulnerability Type
N/A