Skip to main content
← All vulnerabilities
CVE-2024-49770GHSA-QM92-93FV-VH7M

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 17.1.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • oakserver oak

    fixed in 17.1.3

  • @oakserver/oaknpm

    through 14.1.0

References 4

GitHub · oakserver/oak