Exposure of Data Element to Wrong Session Affecting deno package, versions >=1.35.1 <1.36.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-RUST-DENO-6420588
  • published 10 Mar 2024
  • disclosed 5 Mar 2024
  • credit Unknown

How to fix?

Upgrade deno to version 1.36.3 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 Exposure of Data Element to Wrong Session due to the re-use of a global buffer (BUF) in stream_wrap.ts, which causes data sent by one socket to end up being incorrectly received by another socket.

Note: This is not exploitable on network streams created with the Deno.listen and Deno.connect APIs.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None