Insufficient Verification of Data Authenticity Affecting deno package, versions >=1.8.0 <1.40.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    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-6405994
  • published 7 Mar 2024
  • disclosed 6 Mar 2024
  • credit easrng

How to fix?

Upgrade deno to version 1.40.4 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 Insufficient Verification of Data Authenticity due to improper suffix match testing for DENO_AUTH_TOKENS. An attacker can cause tokens to be sent to servers they shouldn't be sent to by exploiting the way an import specifier's hostname is checked against a token's hostname. This could result in an auth token intended for a specific domain being sent to an unintended domain.

References

CVSS Scores

version 3.1
Expand this section

Snyk

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