-
Notifications
You must be signed in to change notification settings - Fork 243
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 <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Ping again on these, @kurktchiev |
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
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 <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
…-env-vars-cve-2024-3177.yaml Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
…-env-vars-cve-2024-3177.yaml Co-authored-by: Chip Zoller <[email protected]> Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
Signed-off-by: Boris 'B' Kurktchiev <[email protected]>
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