GHSA-r5w7-f542-q2j4: Potential DoS when using ContextLines integration
The ContextLines integration uses readable streams to more efficiently use memory when reading files. The ContextLines integration is used to attach source context to outgoing events.
The 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).
The 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
).
References
Detect and mitigate GHSA-r5w7-f542-q2j4 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →