Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @fastly/js-compute
  4. ›
  5. CVE-2024-38375

CVE-2024-38375: @fastly/js-compute has a use-after-free in some host call implementations

June 26, 2024

The implementation of the following functions were determined to include a use-after-free bug:

  • FetchEvent.client.tlsCipherOpensslName
  • FetchEvent.client.tlsProtocol
  • FetchEvent.client.tlsClientCertificate
  • FetchEvent.client.tlsJA3MD5
  • FetchEvent.client.tlsClientHello
  • CacheEntry.prototype.userMetadata of the fastly:cache subsystem
  • Device.lookup of the fastly:device subsystem

This bug could allow for an unintended data leak if the result of the preceding functions were sent anywhere else, and often results in a Compute service crash causing an HTTP 500 error to be returned. As all requests to Compute are isolated from one another, the only data at risk is data present for a single request.

References

  • github.com/advisories/GHSA-mp3g-vpm9-9vqv
  • github.com/fastly/js-compute-runtime
  • github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3
  • github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv
  • nvd.nist.gov/vuln/detail/CVE-2024-38375

Code Behaviors & Features

Detect and mitigate CVE-2024-38375 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 3.16.0

Fixed versions

  • 3.16.0

Solution

Upgrade to version 3.16.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H

Learn more about CVSS

Source file

npm/@fastly/js-compute/CVE-2024-38375.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:41 +0000.