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: fix superagent vulnerability #16305

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

zhaque44
Copy link
Contributor

fixing the npm superagent vulnerability:

https://argo-cd.readthedocs.io/en/stable/snyk/master/argocd-test.html

updated superagent and semver, the real underlying comes from:

semver npm library we need to update that to version 7.5.2 or higher

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.

@zhaque44 zhaque44 requested a review from a team as a code owner November 11, 2023 23:11
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
@zhaque44 zhaque44 force-pushed the fix-superagent-vulnerability branch from bc1a211 to 231dc29 Compare November 11, 2023 23:13
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (edc213d) 49.50% compared to head (231dc29) 49.52%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16305      +/-   ##
==========================================
+ Coverage   49.50%   49.52%   +0.01%     
==========================================
  Files         269      269              
  Lines       47011    47011              
==========================================
+ Hits        23274    23280       +6     
+ Misses      21453    21447       -6     
  Partials     2284     2284              

see 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Tested locally, spot check lgtm!

@crenshaw-dev crenshaw-dev merged commit 841d989 into argoproj:master Nov 14, 2023
25 checks passed
@crenshaw-dev
Copy link
Member

Not cherry-picking since it's not a high/critical vuln.

@zhaque44 zhaque44 deleted the fix-superagent-vulnerability branch November 14, 2023 18:59
vladfr pushed a commit to vladfr/argo-cd that referenced this pull request Dec 13, 2023
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
tesla59 pushed a commit to tesla59/argo-cd that referenced this pull request Dec 16, 2023
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
lyda pushed a commit to lyda/argo-cd that referenced this pull request Mar 28, 2024
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
Signed-off-by: Kevin Lyda <kevin@lyda.ie>
Hariharasuthan99 pushed a commit to AmadeusITGroup/argo-cd that referenced this pull request Jun 16, 2024
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
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.

3 participants