Path Traversal in wisp.serve_static allows arbitrary file read
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| gleam-wisp | wisp | unaffected |
|
||||||
| gleam-wisp | wisp | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gleam-wisp | Wisp |
|
||||||||||||||||||||
| Gleam-wisp | Wisp |
|
||||||||||||||||||||
| Gleam-wisp | Wisp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-h7cj-j2vv-qw8r | Wisp Vulnerable to Path Traversal |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.2% (1.165% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Path Traversal in wisp.serve_static allows arbitrary file read | |
| First Time appeared |
Gleam-wisp
Gleam-wisp wisp |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gleam-wisp
Gleam-wisp wisp |
|
| References |
| |
| Metrics |
cvssV4_0
|