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

feat: secure redis authentication [CVE-2024-31989] #1364

Merged
merged 5 commits into from
May 22, 2024

Conversation

iam-veeramalla
Copy link
Collaborator

@iam-veeramalla iam-veeramalla commented May 20, 2024

What type of PR is this?

/kind bug

What does this PR do / why we need it:
Fix CVE-2024-31989

It has been discovered that an unprivileged pod in a different namespace on the same cluster could connect to the Redis server on port 6379. Despite having installed the latest version of the VPC CNI plugin on the EKS cluster, it requires manual enablement through configuration to enforce network policies. This raises concerns that many clients might unknowingly have open access to their Redis servers. This vulnerability could lead to Privilege Escalation to the level of cluster controller, or to information leakage, affecting anyone who does not have strict access controls on their Redis instance. This issue has been patched in version(s) 2.8.19, 2.9.15 and 2.10.10.

Have you updated the necessary documentation?
NA

Which issue(s) this PR fixes:

Fixes CVE-2024-31989

How to test changes / Special notes to the reviewer:

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Copy link
Collaborator

@svghadi svghadi left a comment

Choose a reason for hiding this comment

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

Ran some manual test as well as ha kuttl test. LGTM. Thanks @iam-veeramalla

@iam-veeramalla iam-veeramalla changed the title feat: secure redis authentication feat: secure redis authentication [CVE-2024-31989] May 22, 2024
@iam-veeramalla iam-veeramalla merged commit 83f97da into argoproj-labs:master May 22, 2024
6 of 7 checks passed
@iam-veeramalla
Copy link
Collaborator Author

/cherry-pick release-0.10

Copy link

Cherry-pick failed with Merge error 83f97da0b278547e86f535764582969361b66a2a into temp-cherry-pick-4a9b0b-release-0.10

@iam-veeramalla
Copy link
Collaborator Author

/cherry-pick release-0.9

Copy link

Cherry-pick failed with Merge error 83f97da0b278547e86f535764582969361b66a2a into temp-cherry-pick-4a9b0b-release-0.9

@iam-veeramalla
Copy link
Collaborator Author

/cherry-pick release-0.8

Copy link

Cherry-pick failed with Merge error 83f97da0b278547e86f535764582969361b66a2a into temp-cherry-pick-4a9b0b-release-0.8

@svghadi
Copy link
Collaborator

svghadi commented May 22, 2024

/cherry-pick release-0.10

Copy link

Cherry-pick failed with Merge error 83f97da0b278547e86f535764582969361b66a2a into temp-cherry-pick-4a9b0b-release-0.10

iam-veeramalla added a commit to iam-veeramalla/argocd-operator that referenced this pull request May 22, 2024
* feat: secure redis authentication

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>

* fix: failing unit tests

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>

* fix: code review comments and liniting issue

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>

* fix: issues with HA pod crashing

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>

* fix: mount password env

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>

---------

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
iam-veeramalla added a commit to iam-veeramalla/argocd-operator that referenced this pull request May 22, 2024
iam-veeramalla added a commit to iam-veeramalla/argocd-operator that referenced this pull request May 22, 2024
iam-veeramalla added a commit to iam-veeramalla/argocd-operator that referenced this pull request May 22, 2024
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
iam-veeramalla added a commit that referenced this pull request May 22, 2024
* feat: secure redis authentication



* fix: failing unit tests



* fix: code review comments and liniting issue



* fix: issues with HA pod crashing



* fix: mount password env



---------

Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
iam-veeramalla added a commit that referenced this pull request May 22, 2024
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
@svghadi svghadi added the backport-to-redesign Changes which need to be backported to operator-redesign branch label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-redesign Changes which need to be backported to operator-redesign branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants