Use After Free Affecting @fastly/js-compute package, versions >=3.0.0 <3.16.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (10th 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-JS-FASTLYJSCOMPUTE-7411091
  • published 27 Jun 2024
  • disclosed 26 Jun 2024
  • credit Trevor Elliott

How to fix?

Upgrade @fastly/js-compute to version 3.16.0 or higher.

Overview

@fastly/js-compute is a npm version npm downloads per month

Affected versions of this package are vulnerable to Use After Free which allows an attacker to cause unintended data loss or service disruption through the implementation of the following functions:

  1. FetchEvent.client.tlsCipherOpensslName

  2. FetchEvent.client.tlsProtocol

  3. FetchEvent.client.tlsClientCertificate

  4. FetchEvent.client.tlsJA3MD5

  5. FetchEvent.client.tlsClientHello

  6. CacheEntry.prototype.userMetadata of the fastly:cache subsystem

  7. Device.lookup of the fastly:device subsystem

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    Partial
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None