`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.
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

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-11-01T16:16:29.482Z

Updated: 2024-11-01T17:35:10.386Z

Reserved: 2024-10-18T13:43:23.458Z

Link: CVE-2024-49770

cve-icon Vulnrichment

Updated: 2024-11-01T17:35:04.823Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-11-01T17:15:17.710

Modified: 2024-11-01T20:24:53.730

Link: CVE-2024-49770

cve-icon Redhat

No data.