Uncaught Exception Affecting deno package, versions <2.7.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-DENO-17660663
  • published27 Jun 2026
  • disclosed17 Jun 2026
  • creditUnknown

Introduced: 17 Jun 2026

NewCVE-2026-55517  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade deno to version 2.7.5 or higher.

Overview

deno is an a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Affected versions of this package are vulnerable to Uncaught Exception via the WebSocket handshake response headers Sec-WebSocket-Protocol and Sec-WebSocket-Extensions. An attacker can cause the process to terminate unexpectedly by sending non-ASCII bytes in these headers during the handshake response. This is only exploitable if the application initiates a WebSocket connection to an untrusted or compromised endpoint, or if a man-in-the-middle attacker can inject malicious header bytes into a plaintext ws:// connection.

Workaround

This vulnerability can be mitigated by only connecting to trusted WebSocket endpoints and preferring wss:// (TLS) over ws://.

References

CVSS Base Scores

version 4.0
version 3.1