Skip to content

[Snyk] Security upgrade moment from 2.29.1 to 2.29.4#9916

Merged
chiragsalian merged 3 commits into
mainfrom
snyk-fix-389315ff5215443e351a45297687dddd
Jul 18, 2022
Merged

[Snyk] Security upgrade moment from 2.29.1 to 2.29.4#9916
chiragsalian merged 3 commits into
mainfrom
snyk-fix-389315ff5215443e351a45297687dddd

Conversation

@flodnv

@flodnv flodnv commented Jul 14, 2022

Copy link
Copy Markdown
Contributor

These are only bug fixes being brought in so we should be fine: https://github.com/moment/moment/blob/HEAD/CHANGELOG.md

$ https://github.com/Expensify/Expensify/issues/218289
$ https://github.com/Expensify/Expensify/issues/218321


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.

merge advice

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
    • package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
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-MOMENT-2944238
No Proof of Concept

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

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@flodnv flodnv requested a review from a team as a code owner July 14, 2022 16:48
@flodnv flodnv self-assigned this Jul 14, 2022
@melvin-bot melvin-bot Bot requested review from MonilBhavsar and removed request for a team July 14, 2022 16:48
Comment thread package.json
@flodnv flodnv requested review from chiragsalian and removed request for MonilBhavsar July 14, 2022 16:50
@chiragsalian

Copy link
Copy Markdown
Contributor

you've got some tests failing. Can you update with main?

@flodnv

flodnv commented Jul 15, 2022

Copy link
Copy Markdown
Contributor Author

I have merged main, and looked at the failing GH action, and so I ran npm run gh-actions-build locally and I get no diff 😕 I am not sure what's going on here, any ideas @roryabraham ?

@roryabraham

Copy link
Copy Markdown
Contributor

Weird ... maybe this is a hint?

image

Unmet dependency

@roryabraham

Copy link
Copy Markdown
Contributor

@flodnv I was able to get the diff locally by doing a clean install from the App directory:

npm list moment                 # you'll see unmet moment dependency
rm -rf node_modules && npm i    # clean install
npm list moment                 # you'll now see that the dependency is met
npm run gh-actions-build        # you'll now see the diff

@flodnv

flodnv commented Jul 18, 2022

Copy link
Copy Markdown
Contributor Author

Many thanks @roryabraham ! Updated, ready for final review @chiragsalian

@chiragsalian chiragsalian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chiragsalian chiragsalian merged commit 38639ad into main Jul 18, 2022
@chiragsalian chiragsalian deleted the snyk-fix-389315ff5215443e351a45297687dddd branch July 18, 2022 18:55
@OSBotify

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by @luacmartins in version: 1.1.85-8 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants