weareinreach / InReach

InReach is the worldโ€™s first open source platform matching LGBTQ+ people facing persecution or discrimination with safe, independently verified resources.
https://app.inreach.org
GNU General Public License v3.0
42 stars 4 forks source link

fix(app): update dependency @sentry/browser to v8.33.0 [security] #1421

Closed renovate[bot] closed 3 weeks ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change OpenSSF
@sentry/browser (source) dependencies minor 8.32.0 -> 8.33.0 OpenSSF Scorecard

GitHub Vulnerability Alerts

GHSA-593m-55hh-j8gv

Impact

In case a Prototype Pollution vulnerability is present in a user's application or bundled libraries, the Sentry SDK could potentially serve as a gadget to exploit that vulnerability. The exploitability depends on the specific details of the underlying Prototype Pollution issue.

[!NOTE] This advisory does not indicate the presence of a Prototype Pollution within the Sentry SDK itself. Users are strongly advised to first address any Prototype Pollution vulnerabilities in their application, as they pose a more critical security risk.

Patches

The issue was patched in all Sentry JavaScript SDKs starting from the 8.33.0 version. Also, the fix was backported to SDK v7 in 7.119.1.

References


Sentry SDK Prototype Pollution gadget in JavaScript SDKs

GHSA-593m-55hh-j8gv

More information #### Details ##### Impact In case a Prototype Pollution vulnerability is present in a user's application or bundled libraries, the Sentry SDK could potentially serve as a gadget to exploit that vulnerability. The exploitability depends on the specific details of the underlying Prototype Pollution issue. > [!NOTE] > This advisory does not indicate the presence of a Prototype Pollution within the Sentry SDK itself. Users are strongly advised to first address any Prototype Pollution vulnerabilities in their application, as they pose a more critical security risk. ##### Patches The issue was patched in all Sentry JavaScript SDKs starting from the [8.33.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.33.0) version. Also, the fix was backported to SDK v7 in [7.119.1](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/7.119.1). ##### References * [Prototype Pollution](https://portswigger.net/web-security/prototype-pollution) * [Prototype Pollution gadgets](https://portswigger.net/web-security/prototype-pollution#prototype-pollution-gadgets) * [sentry-javascript#13838](https://redirect.github.com/getsentry/sentry-javascript/pull/13838) #### Severity - CVSS Score: 5.6 / 10 (Medium) - Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L` #### References - [https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-593m-55hh-j8gv](https://redirect.github.com/getsentry/sentry-javascript/security/advisories/GHSA-593m-55hh-j8gv) - [https://github.com/getsentry/sentry-javascript/pull/13838](https://redirect.github.com/getsentry/sentry-javascript/pull/13838) - [https://github.com/getsentry/sentry-javascript/commit/35bdc87dee3498794e34c1ad35dd9927950c8766](https://redirect.github.com/getsentry/sentry-javascript/commit/35bdc87dee3498794e34c1ad35dd9927950c8766) - [https://github.com/getsentry/sentry-javascript](https://redirect.github.com/getsentry/sentry-javascript) - [https://github.com/getsentry/sentry-javascript/releases/tag/7.119.1](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/7.119.1) - [https://github.com/getsentry/sentry-javascript/releases/tag/8.33.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.33.0) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-593m-55hh-j8gv) and the [GitHub Advisory Database](https://redirect.github.com/github/advisory-database) ([CC-BY 4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).

Release Notes

getsentry/sentry-javascript (@​sentry/browser) ### [`v8.33.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.33.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/8.32.0...8.33.0) ##### Important Changes - **feat(nextjs): Support new async APIs (`headers()`, `params`, `searchParams`) ([#​13828](https://redirect.github.com/getsentry/sentry-javascript/pull/13828))** Adds support for [new dynamic Next.js APIs](https://redirect.github.com/vercel/next.js/pull/68812). - **feat(node): Add `lru-memoizer` instrumentation ([#​13796](https://redirect.github.com/getsentry/sentry-javascript/pull/13796))** Adds integration for lru-memoizer using [@​opentelemetry/instrumentation-lru-memoizer](https://redirect.github.com/opentelemetry/instrumentation-lru-memoizer). - **feat(nuxt): Add `unstable_sentryBundlerPluginOptions` to module options ([#​13811](https://redirect.github.com/getsentry/sentry-javascript/pull/13811))** Allows passing other options from the bundler plugins (vite and rollup) to Nuxt module options. ##### Other Changes - fix(browser): Ensure `wrap()` only returns functions ([#​13838](https://redirect.github.com/getsentry/sentry-javascript/pull/13838)) - fix(core): Adapt trpc middleware input attachment ([#​13831](https://redirect.github.com/getsentry/sentry-javascript/pull/13831)) - fix(core): Don't return trace data in `getTraceData` and `getTraceMetaTags` if SDK is disabled ([#​13760](https://redirect.github.com/getsentry/sentry-javascript/pull/13760)) - fix(nuxt): Don't restrict source map assets upload ([#​13800](https://redirect.github.com/getsentry/sentry-javascript/pull/13800)) - fix(nuxt): Use absolute path for client config ([#​13798](https://redirect.github.com/getsentry/sentry-javascript/pull/13798)) - fix(replay): Stop global event handling for paused replays ([#​13815](https://redirect.github.com/getsentry/sentry-javascript/pull/13815)) - fix(sveltekit): add url param to source map upload options ([#​13812](https://redirect.github.com/getsentry/sentry-javascript/pull/13812)) - fix(types): Add jsdocs to cron types ([#​13776](https://redirect.github.com/getsentry/sentry-javascript/pull/13776)) - fix(nextjs): Loosen [@​sentry/nextjs](https://redirect.github.com/sentry/nextjs) webpack peer dependency ([#​13826](https://redirect.github.com/getsentry/sentry-javascript/pull/13826)) Work in this release was contributed by [@​joshuajaco](https://redirect.github.com/joshuajaco). Thank you for your contribution! ##### Bundle size ๐Ÿ“ฆ | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@​sentry/browser](https://redirect.github.com/sentry/browser) | 22.64 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 21.42 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 34.87 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 71.37 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 61.8 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 75.72 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 88.49 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback, metrics) | 90.37 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. metrics) | 26.91 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.78 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 27.3 KB | | [@​sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.08 KB | | [@​sentry/react](https://redirect.github.com/sentry/react) | 25.39 KB | | [@​sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 37.85 KB | | [@​sentry/vue](https://redirect.github.com/sentry/vue) | 26.8 KB | | [@​sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 36.76 KB | | [@​sentry/svelte](https://redirect.github.com/sentry/svelte) | 22.77 KB | | CDN Bundle | 23.95 KB | | CDN Bundle (incl. Tracing) | 36.64 KB | | CDN Bundle (incl. Tracing, Replay) | 71.14 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) | 76.45 KB | | CDN Bundle - uncompressed | 70.17 KB | | CDN Bundle (incl. Tracing) - uncompressed | 108.63 KB | | CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.53 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 233.74 KB | | [@​sentry/nextjs](https://redirect.github.com/sentry/nextjs) (client) | 37.81 KB | | [@​sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 35.44 KB | | [@​sentry/node](https://redirect.github.com/sentry/node) | 125.13 KB | | [@​sentry/node](https://redirect.github.com/sentry/node) - without tracing | 93.58 KB | | [@​sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 103.28 KB |

Configuration

๐Ÿ“… Schedule: Branch creation - "" (UTC), 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 this update again.



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

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
inreach-app โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 23, 2024 4:17pm
coderabbitai[bot] commented 1 month ago

[!IMPORTANT]

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


๐Ÿชง Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit , please review it.` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` or `` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` or `@coderabbitai title` anywhere in the PR title to generate the title automatically. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
socket-security[bot] commented 1 month ago

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@sentry/browser@8.33.0 network +7 10.1 MB benvinegar, billyvg, evanpurkhiser, ...8 more

๐Ÿšฎ Removed packages: npm/@sentry/browser@8.32.0

View full reportโ†—๏ธŽ

relativeci[bot] commented 1 month ago

#1630 Bundle Size โ€” 3.51MiB (0%).

851062b(current) vs 6cc5151 dev#1628(baseline)

[!WARNING] Bundle contains 5 duplicate packages โ€“ View duplicate packages

Bundle metrics  Change 1 change
โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒ โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒCurrent
#1630
โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒBaseline
#1628
No change  Initial JS 3.05MiB 3.05MiB
No change  Initial CSS 9.7KiB 9.7KiB
Change  Cache Invalidation 32.33% 72.76%
No change  Chunks 67 67
No change  Assets 80 80
No change  Modules 2016 2016
No change  Duplicate Modules 361 361
No change  Duplicate Code 10.01% 10.01%
No change  Packages 159 159
No change  Duplicate Packages 5 5

Bundle size by type  no changes
| โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒ | โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒCurrent
[#1630](https://app.relative-ci.com/projects/lv8Dwq77xc3pShDq86Dg/jobs/1630-1P8ypeJOkz8h0975xqpl?utm_source=github&utm_content=totals&utm_campaign=pr-report "View bundle analysis report") | โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒBaseline
[#1628](https://app.relative-ci.com/projects/lv8Dwq77xc3pShDq86Dg/jobs/1628-PK43238331AgKYHSzUpn?utm_source=github&utm_content=totals&utm_campaign=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | No change  [JS](https://app.relative-ci.com/projects/lv8Dwq77xc3pShDq86Dg/jobs/1630-1P8ypeJOkz8h0975xqpl/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D&utm_source=github&utm_content=totals&utm_campaign=pr-report "View JS assets") | `3.39MiB` | `3.39MiB` | | No change  [Fonts](https://app.relative-ci.com/projects/lv8Dwq77xc3pShDq86Dg/jobs/1630-1P8ypeJOkz8h0975xqpl/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-1_ft.HTML-0_ft.OTHER-0%22%7D&utm_source=github&utm_content=totals&utm_campaign=pr-report "View Fonts assets") | `94.54KiB` | `94.54KiB` | | No change  [CSS](https://app.relative-ci.com/projects/lv8Dwq77xc3pShDq86Dg/jobs/1630-1P8ypeJOkz8h0975xqpl/assets?ba=%7B%22filters%22%3A%22ft.CSS-1_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D&utm_source=github&utm_content=totals&utm_campaign=pr-report "View CSS assets") | `9.7KiB` | `9.7KiB` | | No change  [Other](https://app.relative-ci.com/projects/lv8Dwq77xc3pShDq86Dg/jobs/1630-1P8ypeJOkz8h0975xqpl/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-1%22%7D&utm_source=github&utm_content=totals&utm_campaign=pr-report "View Other assets") | `8.69KiB` | `8.69KiB` | | No change  [IMG](https://app.relative-ci.com/projects/lv8Dwq77xc3pShDq86Dg/jobs/1630-1P8ypeJOkz8h0975xqpl/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-0_ft.IMG-1_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D&utm_source=github&utm_content=totals&utm_campaign=pr-report "View IMG assets") | `8.57KiB` | `8.57KiB` |

Bundle analysis reportโ€ƒBranch renovate/npm-sentry-browser-vuln...โ€ƒProject dashboard


Generated by RelativeCIโ€ƒDocumentationโ€ƒReport issue

github-actions[bot] commented 1 month ago

๐Ÿ“ฆ Next.js Bundle Analysis for @weareinreach/app

This analysis was generated by the Next.js Bundle Analysis action. ๐Ÿค–

This PR introduced no changes to the JavaScript bundle! ๐Ÿ™Œ

alwaysmeticulous[bot] commented 1 month ago

๐Ÿค– No test run has been triggered as your Meticulous project has been deactivated (since you haven't viewed any test results in a while). Click here to reactivate.

Last updated for commit 851062b. This comment will update as new commits are pushed.

kodiakhq[bot] commented 1 month ago

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

kodiakhq[bot] commented 3 weeks ago

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud