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
Path Traversal in wisp.serve_static allows arbitrary file read
Vulnerability Description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-wisp wisp allows arbitrary file read via percent-encoded path traversal. The wisp.serve_static function is vulnerable to path traversal because sanitization runs before percent-decoding. The encoded sequence %2e%2e passes through string.replace unchanged, then uri.percent_decode converts it to .., which the OS resolves as directory traversal when the file is read. An unauthenticated attacker can read any file readable by the application process in a single HTTP request, including application source code, configuration files, secrets, and system files. This issue affects wisp: from 2.1.1 before 2.2.1.
CVSS Information
N/A
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Wisp 安全漏洞
Vulnerability Description
Wisp是Wisp开源的一个实用的Gleam web框架,用于快速开发,且易于维护。 Wisp 2.1.1版本至2.2.1之前版本存在安全漏洞,该漏洞源于wisp.serve_static函数存在路径遍历,可能导致任意文件读取。
CVSS Information
N/A
Vulnerability Type
N/A