CVE-2024-49770CWE-22CWE-35

oak's path traversal allows transfer of hidden files within the served root directory

High · published November 1, 2024

CVSS v4.0
7.7
EPSS
1%
Percentile
53.0
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v4.0
7.7 · HIGH
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
EPSS
0.00711 · 53.0th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-35 · Path Traversal: '.../...//'
Published
2024-11-01T16:16Z
EPSS history
Timeline
  • 01 NOV 16:16Z
    oak's path traversal allows transfer of hidden files within the served root directory
    cvelistv5