[Snyk] Fix for 2 vulnerabilities #38

Open
morten-olsen wants to merge 1 commit from snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03 into master
morten-olsen commented 2023-11-27 15:09:24 +01:00 (Migrated from github.com)

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • packages/demo/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Information Exposure
SNYK-JS-NODEFETCH-2342118
Yes No Known Exploit
medium severity 520/1000
Why? Has a fix available, CVSS 5.9
Denial of Service
SNYK-JS-NODEFETCH-674311
Yes No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: expo The new version differs by 250 commits.
  • b9d655c Publish packages
  • 562ea45 Update Podfile.lock [skip ci]
  • 33ff38a [ios] Update usage string for location [skip ci]
  • a2cc87a [build-properties] add missing enableProguardInReleaseBuilds property (#17361)
  • 01d7660 fix(cli): add missing `--platform` flag to `export` command (#17338)
  • 3797e29 feat(cli): add `run:ios` command (#16662)
  • 06ade67 [cli] Add CI info to telemtry (#17284)
  • 22652ed chore(cli): deduplicate asMock helper function (#17294)
  • d0c5f7f fix(cli): clean up emulator process (#17273)
  • 93b56ef fix(cli): prevent autocomplete from crashing (#17271)
  • 8eaf8c4 [ios] Fix compilation issues in iOS shell apps (#17357)
  • 7a2e413 [android] Fix more FLAG_MUTABLE exception in PendingIntent (#17333)
  • 43674b0 [notifications] handle SCHEDULE_EXACT_ALARM for android 12 (#17334)
  • 68940da [android][apple-authentication] Resolve RN 65 warning from NativeEventEmitter (#17343)
  • fff31e1 [android] backport #17280 expo-av changes to sdk 45 versioned code (#17349)
  • 2a8f9e6 [av][android] Fix crashes caused by accessing `ExoPlayer` from the wrong thread (#17280)
  • 9a9835c [expo][keep-awake] Fix `Unable to deactivate keep awake` warnings (#17319)
  • 4cb9822 [build-properties] Fix android build failure (#17321)
  • 6a62fea [build-properties] Introduce build-properties config-plugin (#17106)
  • ac245d3 [ios] Migrate react-native-safe-area-context to separate vendored pod (#17354)
  • 62821c4 Publish packages
  • eca3009 [dev-client] Rebuild js
  • 37d9088 [menu][ios] Try to fix crashes connected with reloads (#17336)
  • 0a31878 [menu][Android] Fix crashes when the app was launched from a deep link and the react-native-reanimated were installed (#17282)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Denial of Service

<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.</h3> #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - packages/demo/package.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **539/1000** <br/> **Why?** Has a fix available, CVSS 6.5 | Information Exposure <br/>[SNYK-JS-NODEFETCH-2342118](https://snyk.io/vuln/SNYK-JS-NODEFETCH-2342118) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **520/1000** <br/> **Why?** Has a fix available, CVSS 5.9 | Denial of Service <br/>[SNYK-JS-NODEFETCH-674311](https://snyk.io/vuln/SNYK-JS-NODEFETCH-674311) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised. <details> <summary><b>Commit messages</b></summary> </br> <details> <summary>Package name: <b>expo</b></summary> The new version differs by 250 commits.</br> <ul> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/b9d655c1bed682ad8919e071dd923968773f05b5">b9d655c</a> Publish packages</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/562ea45bd4aedc1906fb2f3781f3b576cd9ad143">562ea45</a> Update Podfile.lock [skip ci]</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/33ff38ac887ffcbfaea9dd01615bc0a13ac33eeb">33ff38a</a> [ios] Update usage string for location [skip ci]</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/a2cc87a410780ce2b675a0fe661db8803b8152a1">a2cc87a</a> [build-properties] add missing enableProguardInReleaseBuilds property (#17361)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/01d7660b37c78d573d1125a22ac3372032b029f6">01d7660</a> fix(cli): add missing &#x60;--platform&#x60; flag to &#x60;export&#x60; command (#17338)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/3797e29c0602ec8384ddd3a2ace846dc0bd99f9c">3797e29</a> feat(cli): add &#x60;run:ios&#x60; command (#16662)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/06ade67d086a500c0521f086643bee8a255105bd">06ade67</a> [cli] Add CI info to telemtry (#17284)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/22652ed7d34336476f7b5d9ccb2f0f2ae3833d55">22652ed</a> chore(cli): deduplicate asMock helper function (#17294)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/d0c5f7f6ae2cf2584dabb1bf914d6b63efec2182">d0c5f7f</a> fix(cli): clean up emulator process (#17273)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/93b56efb316a2441229f66d24654f34f466c0891">93b56ef</a> fix(cli): prevent autocomplete from crashing (#17271)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/8eaf8c42ca7039b0450f4b296c6ad188ff47428d">8eaf8c4</a> [ios] Fix compilation issues in iOS shell apps (#17357)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/7a2e413b57fc85a53b6d8dc52794b9c7fa8b3def">7a2e413</a> [android] Fix more FLAG_MUTABLE exception in PendingIntent (#17333)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/43674b0ae0f2adc41757c3e179f1779b3b8dc661">43674b0</a> [notifications] handle SCHEDULE_EXACT_ALARM for android 12 (#17334)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/68940da80bb40630fc6a68156b97998bccaa4606">68940da</a> [android][apple-authentication] Resolve RN 65 warning from NativeEventEmitter (#17343)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/fff31e18628ae6b20be2b34ce6941ee24a51442c">fff31e1</a> [android] backport #17280 expo-av changes to sdk 45 versioned code (#17349)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/2a8f9e6df41e27278833e3dabf7cb7a5f672cafe">2a8f9e6</a> [av][android] Fix crashes caused by accessing &#x60;ExoPlayer&#x60; from the wrong thread (#17280)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/9a9835c7e2de35938170aa2639bf7dcd979cff4b">9a9835c</a> [expo][keep-awake] Fix &#x60;Unable to deactivate keep awake&#x60; warnings (#17319)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/4cb9822472d197768dccc76f7d80581c615205b8">4cb9822</a> [build-properties] Fix android build failure (#17321)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/6a62fea190eddc30e6ba5d434e183a4a47cc03ed">6a62fea</a> [build-properties] Introduce build-properties config-plugin (#17106)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/ac245d34ac93e2db95934a9f8d4bcc3206e100a2">ac245d3</a> [ios] Migrate react-native-safe-area-context to separate vendored pod (#17354)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/62821c446100e842b9bdb3f12979ffeb0babf19e">62821c4</a> Publish packages</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/eca3009a232fa438fe7973a49f6f9ec1c8f702c2">eca3009</a> [dev-client] Rebuild js</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/37d9088bcd9a5ad8e5e012f683576cbfe7871fbd">37d9088</a> [menu][ios] Try to fix crashes connected with reloads (#17336)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/0a3187875744147bf568fff3a19de1d3b89405da">0a31878</a> [menu][Android] Fix crashes when the app was launched from a deep link and the react-native-reanimated were installed (#17282)</li> </ul> <a href="https://snyk.io/redirect/github/expo/expo/compare/f213c9be2a909dae42a0a27d8aa4b9eac8e97be1...b9d655c1bed682ad8919e071dd923968773f05b5">See the full diff</a> </details> </details> Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIyOWExNTNhOC1iODA3LTQxNDgtODYzYS00ODViNzI4Mzc5NzYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjI5YTE1M2E4LWI4MDctNDE0OC04NjNhLTQ4NWI3MjgzNzk3NiJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/morten-olsen/project/a90e32d7-b1f4-49fb-9bb1-80512396d067?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/morten-olsen/project/a90e32d7-b1f4-49fb-9bb1-80512396d067?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"29a153a8-b807-4148-863a-485b72837976","prPublicId":"29a153a8-b807-4148-863a-485b72837976","dependencies":[{"name":"expo","from":"33.0.7","to":"45.0.0"},{"name":"react-native-web","from":"0.11.4","to":"0.15.0"}],"packageManager":"npm","projectPublicId":"a90e32d7-b1f4-49fb-9bb1-80512396d067","projectUrl":"https://app.snyk.io/org/morten-olsen/project/a90e32d7-b1f4-49fb-9bb1-80512396d067?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-NODEFETCH-2342118","SNYK-JS-NODEFETCH-674311"],"upgrade":["SNYK-JS-NODEFETCH-2342118","SNYK-JS-NODEFETCH-674311"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[539,520],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Denial of Service](https://learn.snyk.io/lesson/redos/?loc&#x3D;fix-pr)
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03:snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git switch snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git switch snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git rebase master
git switch master
git merge --ff-only snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git switch snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git rebase master
git switch master
git merge --no-ff snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git switch master
git merge --squash snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git switch master
git merge --ff-only snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git switch master
git merge snyk-fix-bd0a72408c763fd8f75e3c6e7e13be03
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
incubator/react-native-debug-console!38
No description provided.