[Snyk] Security upgrade expo from 33.0.7 to 49.0.0 #37

Open
morten-olsen wants to merge 1 commit from snyk-fix-8409ea3654339c60a030ecae23e84ca2 into master
morten-olsen commented 2023-07-07 03:21:18 +02: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 641/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 6.4
Prototype Pollution
SNYK-JS-JSON5-3182856
Yes Proof of Concept
high severity 768/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
Yes Proof of Concept

(*) 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.
  • 2fbf7de Publish packages
  • 4e550a9 Publish packages
  • 77033b1 refactor(cli): drop extraneous source fetch workaround for `metro@<0.75.1` (#23259)
  • 0923d89 fix(cli, dev-server): add `SYSTEMROOT` for `open` when opening browsers on Windows (#23287)
  • a1f781a [templates] Update for latest
  • cf90d5c Publish packages
  • 52c2c73 refactor(cli): disable inspector proxy inline source maps for vscode only (#23258)
  • d8aa838 [android] Bump version
  • 733e09a [fastlane] Add sync_screenshots lane
  • 71811ec update yarn.lock
  • 1713bcc [iOS] Specify Obj-C names for React delegate handlers for versioning (#23229)
  • 72bdf13 [ios][secure-store] Backport to sdk49 (#23278)
  • ddfec4c [ios][secure-store] Check for plist key if auth is required (#23275)
  • e559009 [image-picker] Bump image cropper version to fix EAS build (#23191)
  • 5016837 [camera] Fix crash when onBarCodeScanned or onFacesDetected callback is removed (#23223)
  • 3c25888 [android][image-picker] Fix backported photo picker crashing with null intent (#23224)
  • 9662dc7 feat: add generated types for Expo Router useSegment (#22629)
  • f678f6a [ios] Bump version
  • 4c558b9 [core][Android] Fix the `View cannot be cast to ViewGroup` exception (#23264)
  • afa9ad0 Fix tsconfig paths and other SDK 49 Metro features. (#23276)
  • 9b283f0 [workspace] Bump TypeScript version to 5.1.3 (#23143)
  • cdcdfc3 [iOS] Refactor expo-screen-orientation for versioning (#23228)
  • 7faea6c [go] Fix hermes inspector crash from vscode-expo (#23271)
  • c068d13 chore: update react-native to 0.72.1 (#23262)

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:

🦉 Prototype Pollution
🦉 Regular Expression Denial of Service (ReDoS)

<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") | **641/1000** <br/> **Why?** Proof of Concept exploit, Has a fix available, CVSS 6.4 | Prototype Pollution <br/>[SNYK-JS-JSON5-3182856](https://snyk.io/vuln/SNYK-JS-JSON5-3182856) | Yes | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **768/1000** <br/> **Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS) <br/>[SNYK-JS-SEMVER-3247795](https://snyk.io/vuln/SNYK-JS-SEMVER-3247795) | Yes | Proof of Concept (*) 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/2fbf7deead5f37f0fccdcc962cbe08328136dd3b">2fbf7de</a> Publish packages</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/4e550a9fb6804351e36f9087aeb84c94d87d631b">4e550a9</a> Publish packages</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/77033b181501053a26917aefe30eb1ca78349fd6">77033b1</a> refactor(cli): drop extraneous source fetch workaround for &#x60;metro@&lt;0.75.1&#x60; (#23259)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/0923d89f3e88cd23398d3661070bc8001fa11567">0923d89</a> fix(cli, dev-server): add &#x60;SYSTEMROOT&#x60; for &#x60;open&#x60; when opening browsers on Windows (#23287)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/a1f781a611870caa161d2dc10d800ef8f86fe4d6">a1f781a</a> [templates] Update for latest</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/cf90d5c30c2a08a6493ebfa8aa3791aa70666759">cf90d5c</a> Publish packages</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/52c2c73e1cfbed73d2134c345ff1d2a6978d8dbd">52c2c73</a> refactor(cli): disable inspector proxy inline source maps for vscode only (#23258)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/d8aa8380937efd874dd9a4bdab6b8875c9b66993">d8aa838</a> [android] Bump version</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/733e09aabcf2af64bbadc3174f2a6dd38a978c71">733e09a</a> [fastlane] Add sync_screenshots lane</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/71811ecedd1856a237db2347e377416fa2a1b270">71811ec</a> update yarn.lock</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/1713bccbc60188efaab6817cf621ee1728b2a85f">1713bcc</a> [iOS] Specify Obj-C names for React delegate handlers for versioning (#23229)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/72bdf1366e8bf6d8f5251d0dc21f35a271bf52c7">72bdf13</a> [ios][secure-store] Backport to sdk49 (#23278)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/ddfec4cf570a37587bc2a17f8662b3a39c7fd59d">ddfec4c</a> [ios][secure-store] Check for plist key if auth is required (#23275)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/e559009081c8ba265ba74c22768a1c09302efcec">e559009</a> [image-picker] Bump image cropper version to fix EAS build (#23191)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/501683732c4a448ba1f0e486b1399b5a8b01b3f5">5016837</a> [camera] Fix crash when onBarCodeScanned or onFacesDetected callback is removed (#23223)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/3c258889e04e1a0bbddbf90b1027bdb31c215e74">3c25888</a> [android][image-picker] Fix backported photo picker crashing with null intent (#23224)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/9662dc7a4bad8bde22227f26995821339f4e1e7c">9662dc7</a> feat: add generated types for Expo Router useSegment (#22629)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/f678f6abd118ff52e5795227e1e6c7a069975cfd">f678f6a</a> [ios] Bump version</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/4c558b911e4d0f8f33cb2b703f08bf80cf73816c">4c558b9</a> [core][Android] Fix the &#x60;View cannot be cast to ViewGroup&#x60; exception (#23264)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/afa9ad0b01c15af798fe3ae6778073addc0568d4">afa9ad0</a> Fix tsconfig paths and other SDK 49 Metro features. (#23276)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/9b283f0b542e5dfb1ec5bf113490e19c7e9971aa">9b283f0</a> [workspace] Bump TypeScript version to 5.1.3 (#23143)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/cdcdfc3e7ad01571b146f14f21e3b603b2d6c550">cdcdfc3</a> [iOS] Refactor expo-screen-orientation for versioning (#23228)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/7faea6c3f5855ca0da42582cb615c1d1de052f46">7faea6c</a> [go] Fix hermes inspector crash from vscode-expo (#23271)</li> <li><a href="https://snyk.io/redirect/github/expo/expo/commit/c068d13a18996a373833d21b3651324892bbb237">c068d13</a> chore: update react-native to 0.72.1 (#23262)</li> </ul> <a href="https://snyk.io/redirect/github/expo/expo/compare/f213c9be2a909dae42a0a27d8aa4b9eac8e97be1...2fbf7deead5f37f0fccdcc962cbe08328136dd3b">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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5NDFlZjFiNS00MWQ5LTQ3YjctODg2MC1jYWVmYTkzZDg5MTQiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6Ijk0MWVmMWI1LTQxZDktNDdiNy04ODYwLWNhZWZhOTNkODkxNCJ9fQ==" 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":"941ef1b5-41d9-47b7-8860-caefa93d8914","prPublicId":"941ef1b5-41d9-47b7-8860-caefa93d8914","dependencies":[{"name":"expo","from":"33.0.7","to":"49.0.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-JSON5-3182856","SNYK-JS-SEMVER-3247795"],"upgrade":["SNYK-JS-JSON5-3182856","SNYK-JS-SEMVER-3247795"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[641,768],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Prototype Pollution](https://learn.snyk.io/lessons/prototype-pollution/javascript/?loc&#x3D;fix-pr) 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?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-8409ea3654339c60a030ecae23e84ca2:snyk-fix-8409ea3654339c60a030ecae23e84ca2
git switch snyk-fix-8409ea3654339c60a030ecae23e84ca2

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-8409ea3654339c60a030ecae23e84ca2
git switch snyk-fix-8409ea3654339c60a030ecae23e84ca2
git rebase master
git switch master
git merge --ff-only snyk-fix-8409ea3654339c60a030ecae23e84ca2
git switch snyk-fix-8409ea3654339c60a030ecae23e84ca2
git rebase master
git switch master
git merge --no-ff snyk-fix-8409ea3654339c60a030ecae23e84ca2
git switch master
git merge --squash snyk-fix-8409ea3654339c60a030ecae23e84ca2
git switch master
git merge --ff-only snyk-fix-8409ea3654339c60a030ecae23e84ca2
git switch master
git merge snyk-fix-8409ea3654339c60a030ecae23e84ca2
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!37
No description provided.