@sentry/nextjs
Affected
- introduced
7.26.0, fixed7.77.0(semver)
Fixed versions
7.77.0
Fix
- Fixed version
7.77.0npm install @sentry/[email protected]
Advisory
Also known as: CVE-2023-46729
Sentry Next.js vulnerable to SSRF via Next.js SDK tunnel endpoint
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/[email protected]
Workarounds
Disable tunneling by removing the tunnelRoute option from Sentry Next.js SDK config — next.config.js or next.config.mjs.
References
Credits
Medium Basis: The source's own band: MODERATE
7.26.0, fixed 7.77.0 (semver)7.77.0
7.77.0npm install @sentry/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0