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. Learn more

Threat Intelligence

EPSS
0.04% (11th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FASTLYJSCOMPUTE-7411091
  • published27 Jun 2024
  • disclosed26 Jun 2024
  • creditTrevor Elliott

Introduced: 26 Jun 2024

CVE-2024-38375  (opens in a new tab)
CWE-416  (opens in a new tab)

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