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 dex to distroless avoid CVE-2022-2097/CVE-2022-30065 #10203

Merged
merged 1 commit into from Aug 5, 2022

Conversation

34fathombelow
Copy link
Member

@34fathombelow 34fathombelow commented Aug 4, 2022

This PR avoids CVE-2022-2097/CVE-2022-30065. As of dex:v2.32.0 they now provide distroless images. Another alternative would be to upgrade to http://ghcr.io/dexidp/dex:v2.33.0 although this PR may introduce some buggy behavior for our users.

I don't see any binaries that argocd-dex depends on, using a distroless image in this case should be fine.

Signed-off-by: Justin Marquis 34fathombelow@protonmail.com

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

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).
  • 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).

Signed-off-by: Justin Marquis <34fathombelow@protonmail.com>
@codecov
Copy link

codecov bot commented Aug 4, 2022

Codecov Report

Merging #10203 (1fe034d) into master (fc15731) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #10203   +/-   ##
=======================================
  Coverage   45.93%   45.93%           
=======================================
  Files         227      227           
  Lines       27419    27419           
=======================================
  Hits        12594    12594           
  Misses      13114    13114           
  Partials     1711     1711           
Impacted Files Coverage Δ
util/settings/settings.go 50.90% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@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 @34fathombelow!

@crenshaw-dev crenshaw-dev merged commit 9f635dc into argoproj:master Aug 5, 2022
@34fathombelow 34fathombelow deleted the dex-distroless branch August 5, 2022 13:17
ashutosh16 pushed a commit to ashutosh16/argo-cd that referenced this pull request Aug 11, 2022
…rgoproj#10203)

Signed-off-by: Justin Marquis <34fathombelow@protonmail.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.

None yet

2 participants