p PatchFirst

CVE-2024-49770

CVE-2024-49770 · oak's path traversal allows transfer of hidden files within the served root directory

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 7.7 · High · EPSS 0.7%

Published
Updated

Stack: node

Affected products and versions

  • oak

    Versions
    • < 17.1.3: Affected

    No fix published

  • @oakserver/oak npm

    Affected ranges
    • SEMVER: ≤ 14.1.0

    No fix published

Original sources

Check your server →