Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade moment to latest version to fix CVE #9005

Merged
merged 1 commit into from
Apr 5, 2022

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Apr 5, 2022

Signed-off-by: Alexander Matyushentsev AMatyushentsev@gmail.com

PR upgrades moment to latest version and fixes https://security.snyk.io/vuln/SNYK-JS-MOMENT-2440688 . Argo CD is not really affected since moment is used only on client side but good to fix it since it fails CI.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@alexmt alexmt requested a review from crenshaw-dev April 5, 2022 15:32
Copy link
Member

@crenshaw-dev crenshaw-dev left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the quick fix!

I'd like to avoid this blocking any future security fixes in release-2.1 through release-2.3. Any opposition to my cherry-picking this back?

Alternatively, I could add an ignore rule to the .snyk file, since this vulnerability doesn't really affect us.

@crenshaw-dev crenshaw-dev enabled auto-merge (squash) April 5, 2022 15:43
@alexmt
Copy link
Collaborator Author

alexmt commented Apr 5, 2022

I would cherry-pick it. It is probably the same amount of work

@codecov
Copy link

codecov bot commented Apr 5, 2022

Codecov Report

Merging #9005 (b3da8bc) into master (b0cd653) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9005      +/-   ##
==========================================
- Coverage   45.07%   45.03%   -0.05%     
==========================================
  Files         212      212              
  Lines       25281    25281              
==========================================
- Hits        11396    11385      -11     
- Misses      12278    12292      +14     
+ Partials     1607     1604       -3     
Impacted Files Coverage Δ
applicationset/services/scm_provider/github.go 63.52% <0.00%> (-17.65%) ⬇️
applicationset/services/scm_provider/utils.go 88.50% <0.00%> (+4.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0cd653...b3da8bc. Read the comment docs.

@crenshaw-dev crenshaw-dev merged commit 409f03e into argoproj:master Apr 5, 2022
ashutosh16 pushed a commit to ashutosh16/argo-cd that referenced this pull request Apr 9, 2022
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: asingh51 <Ashutosh_Singh@intuit.com>
wojtekidd pushed a commit to wojtekidd/argo-cd that referenced this pull request Apr 25, 2022
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
@crenshaw-dev crenshaw-dev added cherry-pick/2.2 Candidate for cherry picking into the 2.2 release branch cherry-pick/2.3 Candidate for cherry picking into the 2.3 release branch labels Jul 27, 2022
crenshaw-dev pushed a commit that referenced this pull request Jul 27, 2022
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@crenshaw-dev
Copy link
Member

Cherry-picked onto release-2.2 for 2.2.12 and release-2.3 for 2.3.7.

crenshaw-dev pushed a commit that referenced this pull request Jul 27, 2022
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/2.2 Candidate for cherry picking into the 2.2 release branch cherry-pick/2.3 Candidate for cherry picking into the 2.3 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants