GHSA-f3vw-587g-r29g
critical
Path Traversal in sapper
- Severity
- critical rating by GitHub
- Published
- Last changed
Description
Versions of sapper prior to 0.27.11 are vulnerable to Path Traversal. It is possible to access sensitive files on the server through HTTP requests containing URL-encoded ../.
You may test a sapper application running in prod mode with curl -vvv http://localhost:3000/client/750af05c3a69ddc6073a/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/etc/passwd.
Recommendation
Upgrade to version 0.27.11 or later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sapper (npm) | before 0.27.11 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-f3vw-587g-r29g changed 2020-08-31 | CC-BY-4.0 |