You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This could open door for other attack vectors:
client-side vulnerabilities: XSS/CSRF in the context of the trusted domain;
interaction with internal network;
read cloud metadata endpoints (AWS, Azure, Google Cloud, etc.);
This release adds Sentry.withMonitor(), a wrapping function that wraps a callback with a cron monitor that will automatically report completions and failures:
import*asSentryfrom'@​sentry/node';// withMonitor() will send checkin when callback is started/finished// works with async and sync callbacks.constresult=Sentry.withMonitor('dailyEmail',()=>{// withMonitor return value is same return value herereturnsendEmail();},// Optional upsert options{schedule: {type: 'crontab',value: '0 * * * *',},// 🇨🇦🫡timezone: 'Canada/Eastern',},);
Other Changes
chore(angular-ivy): Allow Angular 17 in peer dependencies (#9386)
feat(nextjs): Instrument SSR page components (#9346)
feat(nextjs): Trace errors in page component SSR (#9388)
fix(nextjs): Instrument route handlers with jsx and tsx file extensions (#9362)
fix(nextjs): Trace with performance disabled (#9389)
fix(replay): Ensure replay_id is not added to DSC if session expired (#9359)
fix(replay): Remove unused parts of pako from build (#9369)
fix(serverless): Don't mark all errors as unhandled (#9368)
fix(tracing-internal): Fix case when middleware contain array of routes with special chars as @ (#9375)
meta(nextjs): Bump peer deps for Next.js 14 (#9390)
Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
feat(opentelemetry): Add new @sentry/opentelemetry package (#9238)
This release publishes a new package, @sentry/opentelemetry. This is a runtime agnostic replacement for @sentry/opentelemetry-node and exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry.
This Release introduces the first alpha version of our new SDK for Astro.
At this time, the SDK is considered experimental and things might break and change in future versions.
The core of the SDK is an Astro integration which you easily add to your Astro config:
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/entities@4.5.0. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
Obfuscated code: npm markdown-it is 91.0% likely obfuscated
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/markdown-it@14.1.1. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.73.0→7.77.0Sentry Next.js vulnerable to SSRF via Next.js SDK tunnel endpoint
CVE-2023-46729 / GHSA-2rmr-xw8m-22q9
More information
Details
Impact
An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This could open door for other attack vectors:
This issue only affects users who have Next.js SDK tunneling feature enabled.
Patches
The problem has been fixed in sentry/nextjs@7.77.0
Workarounds
Disable tunneling by removing the
tunnelRouteoption from Sentry Next.js SDK config —next.config.jsornext.config.mjs.References
Credits
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
getsentry/sentry-javascript (@sentry/nextjs)
v7.77.0Compare Source
Security Fixes
Other Changes
Bundle size 📦
v7.76.0Compare Source
Important Changes
This release adds
Sentry.withMonitor(), a wrapping function that wraps a callback with a cron monitor that will automatically report completions and failures:Other Changes
jsxandtsxfile extensions (#9362)replay_idis not added to DSC if session expired (#9359)Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
Bundle size 📦
v7.75.1Compare Source
Bundle size 📦
v7.75.0Compare Source
Important Changes
@sentry/opentelemetrypackage (#9238)This release publishes a new package,
@sentry/opentelemetry. This is a runtime agnostic replacement for@sentry/opentelemetry-nodeand exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry.You can read more about @sentry/opentelemetry in the Readme.
Starting with this release, you can configure the following build-time flags in order to reduce the SDK bundle size:
__RRWEB_EXCLUDE_CANVAS____RRWEB_EXCLUDE_IFRAME____RRWEB_EXCLUDE_SHADOW_DOM__You can read more about tree shaking in our docs.
Other Changes
lru_mapdependency (#9300)cookiemodule (#9308)ReplayandBrowserTracingintegrations tree-shakeable (#9287)autoInstrumentMiddlewarefunctionality (#9323)getInitialPropsmay return undefined (#9342)Bundle size 📦
v7.74.1Compare Source
astro-integrationkeyword (#9265)fetch(#9275)deferinjection logic. (#9242)Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
Bundle size 📦
v7.74.0Compare Source
Important Changes
sentryAstrointegration (#9218)This Release introduces the first alpha version of our new SDK for Astro.
At this time, the SDK is considered experimental and things might break and change in future versions.
The core of the SDK is an Astro integration which you easily add to your Astro config:
Check out the README for usage instructions and what to expect from this alpha release.
Other Changes
addIntegrationutility (#9186)continueTracemethod (#9164)VueIntegrationto initialize vue app later (#9180)referrerPolicyon serverside fetch transports (#9200)init(#9162)inspectorwhen needed (#9149)debugoption and instead add logger.isEnabled() (#9230).mjsand.cjsextensions from module name (#9231)processEventintegration hook (#9151)processEvent(#9021)rethrowAfterCaptureoption (#9159)walkmethod (#9157)Work in this release contributed by @aldenquimby. Thank you for your contributions!
Bundle size 📦
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.