{"vulnerability": "GHSA-R5W7-F542-Q2J4", "sightings": [{"uuid": "4475472f-efb1-4494-aec0-7e9f48cfa0bb", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "2a075640-a300-48a4-bb44-bc6130783b9b", "vulnerability": "GHSA-R5W7-F542-Q2J4", "type": "published-proof-of-concept", "source": "https://t.me/DarkWebInformer_CVEAlerts/3285", "content": "\ud83d\udd17 DarkWebInformer.com - Cyber Threat Intelligence\n\ud83d\udccc CVE ID: GHSA-r5w7-f542-q2j4\n\ud83d\udd25 CVSS Score: 3.6 (CVSS_V3)\n\ud83d\udd39 Description: ### Impact\nThe [ContextLines integration](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/contextlines/) uses readable streams to more efficiently use memory when reading files. The ContextLines integration is used to attach source context to outgoing events.\n\nThe stream was not explicitly closed after use. This could lead to excessive amounts of file handles open on the system and potentially lead to a Denial of Service (DoS).\n\nThe ContextLines integration is enabled by default in the Node SDK (`@sentry/node`) and SDKs that run in Node.js environments (`@sentry/astro`, `@sentry/aws-serverless`, `@sentry/bun`, `@sentry/google-cloud-serverless`, `@sentry/nestjs`, `@sentry/nextjs`, `@sentry/nuxt`, `@sentry/remix`, `@sentry/solidstart`, `@sentry/sveltekit`).\n\n### Patches\n\nUsers should upgrade to version `8.49.0` or higher.\n\n### Workarounds\n\nTo remediate this issue in affected versions without upgrading to version `8.49.0` and above you can disable the ContextLines integration. See the [docs](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/#removing-a-default-integration) for more details.\n\n```js\nSentry.init({\n  // ...\n  integrations: function (integrations) {\n    // integrations will be all default integrations\n    return integrations.filter(function (integration) {\n      return integration.name !== \"ContextLines\";\n    });\n  },\n});\n```\n\nIf you disable the ContextLines integration, you will lose source context on your error events.\n\n### References\n- Reported issue: https://github.com/getsentry/sentry-javascript/issues/14892\n- PR Fix: https://github.com/getsentry/sentry-javascript/pull/14997\n\n\ud83d\udccf Published: 2025-01-28T20:37:26Z\n\ud83d\udccf Modified: 2025-01-28T20:37:49Z\n\ud83d\udd17 References:\n1. https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-r5w7-f542-q2j4\n2. https://github.com/getsentry/sentry-javascript/issues/14892\n3. https://github.com/getsentry/sentry-javascript/pull/14997\n4. https://github.com/getsentry/sentry-javascript", "creation_timestamp": "2025-01-28T21:09:43.000000Z"}]}