diff --git a/advisories/github-reviewed/2024/06/GHSA-mp3g-vpm9-9vqv/GHSA-mp3g-vpm9-9vqv.json b/advisories/github-reviewed/2024/06/GHSA-mp3g-vpm9-9vqv/GHSA-mp3g-vpm9-9vqv.json new file mode 100644 index 00000000000..ce77d5bb12b --- /dev/null +++ b/advisories/github-reviewed/2024/06/GHSA-mp3g-vpm9-9vqv/GHSA-mp3g-vpm9-9vqv.json @@ -0,0 +1,61 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-mp3g-vpm9-9vqv", + "modified": "2024-06-26T19:12:23Z", + "published": "2024-06-26T19:12:23Z", + "aliases": [ + "CVE-2024-38375" + ], + "summary": "@fastly/js-compute has a use-after-free in some host call implementations", + "details": "### Impact\nThe implementation of the following functions were determined to include a use-after-free bug:\n\n* `FetchEvent.client.tlsCipherOpensslName`\n* `FetchEvent.client.tlsProtocol`\n* `FetchEvent.client.tlsClientCertificate`\n* `FetchEvent.client.tlsJA3MD5`\n* `FetchEvent.client.tlsClientHello`\n* `CacheEntry.prototype.userMetadata` of the `fastly:cache` subsystem\n* `Device.lookup` of the `fastly:device` subsystem\n\nThis 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.\n\n### Patches\nThis bug has been fixed in version 3.16.0 of the `@fastly/js-compute` package.\n\n### Workarounds\nThere are no workarounds for this bug, any use of the affected functions introduces the possibility of a data leak or crash in guest code.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "@fastly/js-compute" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3.0.0" + }, + { + "fixed": "3.16.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv" + }, + { + "type": "WEB", + "url": "https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3" + }, + { + "type": "PACKAGE", + "url": "https://github.com/fastly/js-compute-runtime" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-06-26T19:12:23Z", + "nvd_published_at": null + } +} \ No newline at end of file