Skip to content

fix(deps): update dependency @sentry/node to v8.49.0 [security]#1036

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-@sentry/node-vulnerability
Open

fix(deps): update dependency @sentry/node to v8.49.0 [security]#1036
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-@sentry/node-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 28, 2025

This PR contains the following updates:

Package Change Age Confidence
@sentry/node (source) 8.47.08.49.0 age confidence

GitHub Vulnerability Alerts

GHSA-r5w7-f542-q2j4

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.

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


Release Notes

getsentry/sentry-javascript (@​sentry/node)

v8.49.0

Compare Source

  • feat(v8/browser): Flush offline queue on flush and browser online event (#​14969)
  • feat(v8/react): Add a handled prop to ErrorBoundary (#​14978)
  • fix(profiling/v8): Don't put require, __filename and __dirname on global object (#​14952)
  • fix(v8/node): Enforce that ContextLines integration does not leave open file handles (#​14997)
  • fix(v8/replay): Disable mousemove sampling in rrweb for iOS browsers (#​14944)
  • fix(v8/sveltekit): Ensure source maps deletion is called after source ma… (#​14963)
  • fix(v8/vue): Re-throw error when no errorHandler exists (#​14943)

Work in this release was contributed by @​HHK1 and @​mstrokin. Thank you for your contribution!

Bundle size 📦

Path Size
@​sentry/browser 23.29 KB
@​sentry/browser - with treeshaking flags 21.96 KB
@​sentry/browser (incl. Tracing) 35.85 KB
@​sentry/browser (incl. Tracing, Replay) 73.19 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.58 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 77.5 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 89.44 KB
@​sentry/browser (incl. Feedback) 39.5 KB
@​sentry/browser (incl. sendFeedback) 27.89 KB
@​sentry/browser (incl. FeedbackAsync) 32.69 KB
@​sentry/react 25.97 KB
@​sentry/react (incl. Tracing) 38.67 KB
@​sentry/vue 27.57 KB
@​sentry/vue (incl. Tracing) 37.71 KB
@​sentry/svelte 23.45 KB
CDN Bundle 24.49 KB
CDN Bundle (incl. Tracing) 37.56 KB
CDN Bundle (incl. Tracing, Replay) 72.84 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.2 KB
CDN Bundle - uncompressed 71.93 KB
CDN Bundle (incl. Tracing) - uncompressed 111.42 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.68 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB
@​sentry/nextjs (client) 38.92 KB
@​sentry/sveltekit (client) 36.36 KB
@​sentry/node 162.82 KB
@​sentry/node - without tracing 98.95 KB
@​sentry/aws-serverless 126.65 KB

v8.48.0

Compare Source

Deprecations
  • feat(v8/core): Deprecate getDomElement method (#​14799)

    Deprecates getDomElement. There is no replacement.

Other changes
  • fix(nestjs/v8): Use correct main/module path in package.json (#​14791)
  • fix(v8/core): Use consistent continueTrace implementation in core (#​14819)
  • fix(v8/node): Correctly resolve debug IDs for ANR events with custom appRoot (#​14823)
  • fix(v8/node): Ensure NODE_OPTIONS is not passed to worker threads (#​14825)
  • fix(v8/angular): Fall back to element tagName when name is not provided to TraceDirective (#​14828)
  • fix(aws-lambda): Remove version suffix from lambda layer (#​14843)
  • fix(v8/node): Ensure express requests are properly handled (#​14851)
  • feat(v8/node): Add openTelemetrySpanProcessors option (#​14853)
  • fix(v8/react): Use Set as the allRoutes container. (#​14878) (#​14884)
  • fix(v8/react): Improve handling of routes nested under path="/" (#​14897)
  • feat(v8/core): Add normalizedRequest to samplingContext (#​14903)
  • fix(v8/feedback): Avoid lazy loading code for syncFeedbackIntegration (#​14918)

Work in this release was contributed by @​arturovt. Thank you for your contribution!

Bundle size 📦

Path Size
@​sentry/browser 23.29 KB
@​sentry/browser - with treeshaking flags 21.96 KB
@​sentry/browser (incl. Tracing) 35.85 KB
@​sentry/browser (incl. Tracing, Replay) 73.09 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.48 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 77.4 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 89.34 KB
@​sentry/browser (incl. Feedback) 39.5 KB
@​sentry/browser (incl. sendFeedback) 27.89 KB
@​sentry/browser (incl. FeedbackAsync) 32.69 KB
@​sentry/react 25.96 KB
@​sentry/react (incl. Tracing) 38.66 KB
@​sentry/vue 27.56 KB
@​sentry/vue (incl. Tracing) 37.69 KB
@​sentry/svelte 23.45 KB
CDN Bundle 24.49 KB
CDN Bundle (incl. Tracing) 37.56 KB
CDN Bundle (incl. Tracing, Replay) 72.75 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 78.11 KB
CDN Bundle - uncompressed 71.93 KB
CDN Bundle (incl. Tracing) - uncompressed 111.42 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 225.5 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.6 KB
@​sentry/nextjs (client) 38.92 KB
@​sentry/sveltekit (client) 36.36 KB
@​sentry/node 162.8 KB
@​sentry/node - without tracing 98.94 KB
@​sentry/aws-serverless 126.63 KB

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner January 28, 2025 22:43
@renovate renovate bot requested review from Gio2018 and removed request for a team January 28, 2025 22:43
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch 5 times, most recently from a044466 to a752bd0 Compare February 1, 2025 01:00
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch 2 times, most recently from 560ffe7 to b1d7c62 Compare February 19, 2025 19:19
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch 2 times, most recently from 74a58bd to c500a3a Compare March 6, 2025 22:02
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch from c500a3a to 524ac84 Compare March 12, 2025 22:09
@kschelonka kschelonka removed the request for review from Gio2018 March 18, 2025 15:02
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch from 524ac84 to eb06a78 Compare April 15, 2025 20:19
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch from eb06a78 to 3b27797 Compare May 13, 2025 18:57
@github-actions
Copy link

github-actions bot commented May 13, 2025

Plan Result (@infrastructure/braze-production)

CI link

No changes. Your infrastructure matches the configuration.

@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch 2 times, most recently from e887f41 to 6c61f0a Compare May 22, 2025 18:14
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch 2 times, most recently from 7e95bae to 29ad4f5 Compare June 23, 2025 22:19
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch 4 times, most recently from 85e8a0e to a77d462 Compare August 10, 2025 15:40
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch from a77d462 to a9b1107 Compare August 13, 2025 13:20
@github-actions
Copy link

github-actions bot commented Aug 13, 2025

Plan Result (@infrastructure/braze-content-proxy-production)

CI link

No changes. Your infrastructure matches the configuration.

@github-actions
Copy link

github-actions bot commented Aug 13, 2025

Plan Result (@infrastructure/list-api-production)

CI link

No changes. Your infrastructure matches the configuration.

@github-actions
Copy link

github-actions bot commented Jan 28, 2026

Plan Result (@infrastructure/pocket-event-bridge-production)

CI link

⚠️ Resource Deletion will happen ⚠️

This plan contains resource delete operation. Please check the plan result very carefully!

Plan: 0 to add, 0 to change, 1 to destroy.
  • Delete
    • aws_cloudwatch_event_bus.shared-event-bus_event-bus-PocketEventBridge-Prod-Shared-Event-Bus_AA9ACCF5
Change Result (Click me)
  # aws_cloudwatch_event_bus.shared-event-bus_event-bus-PocketEventBridge-Prod-Shared-Event-Bus_AA9ACCF5 will be destroyed
  # (because aws_cloudwatch_event_bus.shared-event-bus_event-bus-PocketEventBridge-Prod-Shared-Event-Bus_AA9ACCF5 is not in configuration)
  - resource "aws_cloudwatch_event_bus" "shared-event-bus_event-bus-PocketEventBridge-Prod-Shared-Event-Bus_AA9ACCF5" {
      - arn                = "arn:aws:events:us-east-1:996905175585:event-bus/PocketEventBridge-Prod-Shared-Event-Bus" -> null
      - id                 = "PocketEventBridge-Prod-Shared-Event-Bus" -> null
      - name               = "PocketEventBridge-Prod-Shared-Event-Bus" -> null
      - tags               = {
          - "app_code"       = "pocket-content-shared"
          - "component_code" = "pocket-content-shared-pocketeventbridge"
          - "costCenter"     = "Shared"
          - "env_code"       = "prod"
          - "environment"    = "Prod"
          - "owner"          = "Pocket"
          - "service"        = "PocketEventBridge"
        } -> null
      - tags_all           = {
          - "app_code"       = "pocket-content-shared"
          - "component_code" = "pocket-content-shared-pocketeventbridge"
          - "costCenter"     = "Shared"
          - "env_code"       = "prod"
          - "environment"    = "Prod"
          - "owner"          = "Pocket"
          - "service"        = "PocketEventBridge"
        } -> null
        # (2 unchanged attributes hidden)
    }

Plan: 0 to add, 0 to change, 1 to destroy.

⚠️ Errors

  • failed to add a label @infrastructure/pocket-event-bridge-production/destroy: label name is too long (max: 50)

@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch 3 times, most recently from e5f6a9a to 93e9d0f Compare January 28, 2026 21:32
@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch from 93e9d0f to 36d9a23 Compare February 8, 2026 08:01
@github-actions
Copy link

github-actions bot commented Feb 8, 2026

❌ Plan Result (@infrastructure/user-list-search-production)

CI link

Error: Error acquiring the state lock
 
 Error message: operation error DynamoDB: PutItem, https response error
 StatusCode: 400, RequestID:
 UCAFVU6NJ8A24TSEETUUD5T80RVV4KQNSO5AEMVJF66Q9ASUAAJG,
 ConditionalCheckFailedException: The conditional request failed
 Lock Info:
   ID:        dbd76df8-8696-eff1-bb00-9395e59afbe0
   Path:      mozilla-pocket-team-prod-terraform-state/UserListSearch
   Operation: OperationTypeApply
   Who:       runner@runnervmwffz4
   Version:   1.8.3
   Created:   2026-02-09 15:40:42.280752694 +0000 UTC
   Info:      
 
 
 Terraform acquires a state lock to protect the state from being written
 by multiple users at the same time. Please resolve the issue above and try
 again. For most commands, you can disable locking with the "-lock=false"
 flag, but this is not recommended.

@renovate renovate bot force-pushed the renovate/npm-@sentry/node-vulnerability branch from 783f1c6 to 2cf7adf Compare February 17, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant