Skip to content
OpenAdvisories

Vendor

denoland

41 known vulnerabilities.

Products

13 results · Clear filters · Feed

  • Medium 4.3

    Deno: Denial of service via non-ASCII bytes in WebSocket response headers

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.5, a Deno program that opens a client WebSocket connection could be crashed by the remote server. While handling the WebSocket handshake response, Deno parsed the Sec-WebSocket-Protocol a…

  • Medium 5.5

    Deno: BYONM module resolution allows `package.json` main path traversal to bypass `--allow-read` restrictions

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.12, when Deno was run in BYONM mode (nodeModulesDir: "manual"), the module resolver did not validate that a package's resolved entrypoint stayed within its node_modules/<pkg>/ directory. …

  • Medium 6.5

    Deno Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.0, the Node.js compatibility TCP path checked the permission against the original hostname string before resolution and then did not re-check after resolution. A caller could therefore pa…

  • Medium 5.2

    Deno: process.loadEnvFile() bypasses env permission checks and mutates process.env with only read access

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, environment access is gated by the env permission. You can deny it with --deny-env, or restrict it to a specific allowlist with --allow-env=FOO,BAR. The expectation is that a program r…

  • Medium 5.2

    Deno: WebSocket API sandbox bypass via missing post-DNS check

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, when a WebSocket connection was opened, Deno checked the destination hostname against --deny-net rules but did not re-check the IP addresses that hostname resolved to. An attacker-cont…

  • Medium 5.2

    Deno: `fetch()` API sandbox bypass via missing DNS resolution check

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, when fetch() was called, Deno checked the destination hostname against --deny-net rules but did not re-check the IP addresses that hostname resolved to. An attacker-controlled script c…

  • Medium 5.5

    Deno has --allow-read / --allow-write permission bypass in `node:sqlite`

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 2.2.0 and prior to versions 2.2.5, it is possible to bypass Deno's permission read/write db permission check by using `ATTACH DATABASE` statement. Version 2.2.5 contains a patch fo…

  • Medium 5.5

    Deno.env.toObject() ignores the variables listed in --deny-env and returns all environment variables

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to versions 2.1.13 and 2.2.13, the `Deno.env.toObject` method ignores any variables listed in the `--deny-env` option of the `deno run` command. When looking at the documentation of the `--deny-…

  • Medium 5.5

    Deno run with --allow-read and --deny-read flags results in allowed

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.41.3 and prior to versions 2.1.13, 2.2.13, and 2.3.2, `deno run --allow-read --deny-read main.ts` results in allowed, even though 'deny' should be stronger. The result is the sam…

  • Medium 5.4

    Improper neutralization of input during web page generation ("Cross-site Scripting") in deno_doc HTML generator

    Deno is a runtime for JavaScript and TypeScript written in rust. Several cross-site scripting vulnerabilities existed in the `deno_doc` crate which lead to Self-XSS with deno doc --html. 1.) XSS in generated `search_index.js`, `deno_doc` outputs a JavaScript …

  • Medium 5.1

    XSS vulnerability in serveDir API of @std/http/file-server on POSIX systems

    The Deno Standard Library provides APIs for Deno and the Web. Prior to version 1.0.11, `http/file-server`'s `serveDir` with `showDirListing: true` option is vulnerable to cross-site scripting when the attacker is a user who can control file names in the sourc…

  • Medium 4.6

    Deno's improper suffix match testing for DENO_AUTH_TOKENS

    Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, Deno improperly checks that an import specifier's hostname is equal to or a child of a token's hostname, which can cause tokens to be sent to ser…

  • Medium 5.8

    Insufficient permission checking in `Deno.makeTemp*` APIs

    Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. Insufficient validation of parameters in `Deno.makeTemp*` APIs would allow for creation of files outside of the allowed directories. This may allow the user to overwrite important…