Niska

Potential DoS when using ContextLines integration

  • Ujawniono: 28.01.2025
  • Aktualizacja: 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

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Paczka npm @sentry/astro >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/aws-serverless >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/bun >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/google-cloud-serverless >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/nestjs >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/nextjs >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/node >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/nuxt >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/remix >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/solidstart >= 8.10.0, < 8.49.0 8.49.0
Paczka npm @sentry/sveltekit >= 8.10.0, < 8.49.0 8.49.0

Odnośniki

Ocena CVSS 3.7/10
Wektor CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Słabość (CWE)
CWE-774
Platforma
npm
Paczka
@sentry/astro, @sentry/aws-serverless, @sentry/bun
Ujawniono
28.01.2025
Aktualizacja
11.10.2026 10:22

Źródła i licencje

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

Historia podatności: @sentry/astro

Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkich wpisów
3
Pierwsza → ostatnia
12.2023 11.2025
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Wysoka 1
  • Średnia 1
  • Niska 1

Ujawnienia w latach

  1. 2023: 1
  2. 2024: 0
  3. 2025: 2
  4. 2026: 0
  1. Średnia CVE-2025-65944 >= 10.11.0, < 10.27.0 10.27.0
  2. Potential DoS when using ContextLines integration ten wpis
    Niska · 3.7 ghsa-r5w7-f542-q2j4 >= 8.10.0, < 8.49.0 8.49.0
  3. Wysoka · 7.5 CVE-2023-50249 >= 7.78.0, < 7.87.0 7.87.0

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.