-
Notifications
You must be signed in to change notification settings - Fork 247
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
Prevent CVE-2024-3177 #1007
base: main
Are you sure you want to change the base?
Prevent CVE-2024-3177 #1007
Conversation
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
Ping again on these, @kurktchiev |
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No test cases associated with this policy, just a couple of test resources.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And reminder about tests.
other/secrets-not-from-env-vars-cve-2024-3177/secrets-not-from-env-vars-cve-2024-3177.yaml
Show resolved
Hide resolved
other/secrets-not-from-env-vars-cve-2024-3177/secrets-not-from-env-vars-cve-2024-3177.yaml
Outdated
Show resolved
Hide resolved
pattern: | ||
metadata: | ||
annotations: | ||
kubernetes.io/enforce-mountable-secrets: "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a conditional check? I.e., if this annotation is set to true, then the pattern must be satisfied?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the annotation at all?
Seems to me that the policy would be more widely applicable without it.
other/secrets-not-from-env-vars-cve-2024-3177/secrets-not-from-env-vars-cve-2024-3177.yaml
Outdated
Show resolved
Hide resolved
other/secrets-not-from-env-vars-cve-2024-3177/artifacthub-pkg.yml
Outdated
Show resolved
Hide resolved
other/secrets-not-from-env-vars-cve-2024-3177/artifacthub-pkg.yml
Outdated
Show resolved
Hide resolved
other/secrets-not-from-env-vars-cve-2024-3177/artifacthub-pkg.yml
Outdated
Show resolved
Hide resolved
other/secrets-not-from-env-vars-cve-2024-3177/artifacthub-pkg.yml
Outdated
Show resolved
Hide resolved
other/secrets-not-from-env-vars-cve-2024-3177/artifacthub-pkg.yml
Outdated
Show resolved
Hide resolved
other/secrets-not-from-env-vars-cve-2024-3177/artifacthub-pkg.yml
Outdated
Show resolved
Hide resolved
…-env-vars-cve-2024-3177.yaml Co-authored-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
…-env-vars-cve-2024-3177.yaml Co-authored-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
Co-authored-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
Co-authored-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
Co-authored-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
Co-authored-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
…-env-vars-cve-2024-3177.yaml Co-authored-by: Chip Zoller <chipzoller@gmail.com> Signed-off-by: Boris 'B' Kurktchiev <kurktchiev@gmail.com>
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
Signed-off-by: Boris 'B' Kurktchiev <boris.kurktchiev@nirmata.com>
pattern: | ||
metadata: | ||
annotations: | ||
kubernetes.io/enforce-mountable-secrets: "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the annotation at all?
Seems to me that the policy would be more widely applicable without it.
Description
Simple policy to check and prevent CVE-2024-3177
Checklist