Niedrig

Potential DoS when using ContextLines integration

  • Veröffentlicht: 28.01.2025
  • Aktualisiert: 11.10.2026 10:22

Impact

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).

Patches

Users should upgrade to version 8.49.0 or higher.

Workarounds

To remediate this issue in affected versions without upgrading to version 8.49.0 and above you can disable the ContextLines integration. See the docs for more details.

js
Sentry.init({
  // ...
  integrations: function (integrations) {
    // integrations will be all default integrations
    return integrations.filter(function (integration) {
      return integration.name !== "ContextLines";
    });
  },
});

If you disable the ContextLines integration, you will lose source context on your error events.

References

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
npm-Paket @sentry/astro >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/aws-serverless >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/bun >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/google-cloud-serverless >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/nestjs >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/nextjs >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/node >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/nuxt >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/remix >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/solidstart >= 8.10.0, < 8.49.0 8.49.0
npm-Paket @sentry/sveltekit >= 8.10.0, < 8.49.0 8.49.0

Verweise

CVSS-Wert 3.7/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Schwäche (CWE)
CWE-774
Plattform
npm
Paket
@sentry/astro, @sentry/aws-serverless, @sentry/bun
Veröffentlicht
28.01.2025
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-r5w7-f542-q2j4 - CC BY 4.0

Schwachstellenhistorie: @sentry/nuxt

Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
2
Erste → letzte
01.2025 11.2025
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Mittel 1
  • Niedrig 1

Veröffentlichungen pro Jahr

  1. 2025: 2
  2. 2026: 0
  1. Mittel CVE-2025-65944 >= 10.11.0, < 10.27.0 10.27.0
  2. Potential DoS when using ContextLines integration dieser Eintrag
    Niedrig · 3.7 ghsa-r5w7-f542-q2j4 >= 8.10.0, < 8.49.0 8.49.0

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.