`oak` is a middleware framework for Deno's native HTTP server, Deno Deploy, Node.js 16.5 and later, Cloudflare Workers and Bun. By default `oak` does not allow transferring of hidden files with `Context.send` API. However, prior to version 17.1.3, this can be bypassed by encoding `/` as its URL encoded form `%2F`. For an attacker this has potential to read sensitive user data or to gain access to server secrets. Version 17.1.3 fixes the issue.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-3301 | `oak` is a middleware framework for Deno's native HTTP server, Deno Deploy, Node.js 16.5 and later, Cloudflare Workers and Bun. By default `oak` does not allow transferring of hidden files with `Context.send` API. However, prior to version 17.1.3, this can be bypassed by encoding `/` as its URL encoded form `%2F`. For an attacker this has potential to read sensitive user data or to gain access to server secrets. Version 17.1.3 fixes the issue. |
Github GHSA |
GHSA-qm92-93fv-vh7m | Path traversal in oak allows transfer of hidden files within the served root directory |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 01 Nov 2024 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Oakserver
Oakserver oak |
|
| CPEs | cpe:2.3:a:oakserver:oak:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Oakserver
Oakserver oak |
|
| Metrics |
ssvc
|
Fri, 01 Nov 2024 16:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | `oak` is a middleware framework for Deno's native HTTP server, Deno Deploy, Node.js 16.5 and later, Cloudflare Workers and Bun. By default `oak` does not allow transferring of hidden files with `Context.send` API. However, prior to version 17.1.3, this can be bypassed by encoding `/` as its URL encoded form `%2F`. For an attacker this has potential to read sensitive user data or to gain access to server secrets. Version 17.1.3 fixes the issue. | |
| Title | oak's path traversal allows transfer of hidden files within the served root directory | |
| Weaknesses | CWE-22 CWE-35 |
|
| References |
|
|
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-11-01T17:35:10.386Z
Reserved: 2024-10-18T13:43:23.458Z
Link: CVE-2024-49770
Updated: 2024-11-01T17:35:04.823Z
Status : Awaiting Analysis
Published: 2024-11-01T17:15:17.710
Modified: 2024-11-01T20:24:53.730
Link: CVE-2024-49770
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA