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

Add and disable allow-snippet-annotations #238

Merged
merged 3 commits into from
Oct 22, 2021

Conversation

ubergesundheit
Copy link
Member

@ubergesundheit ubergesundheit commented Oct 22, 2021

Disallow the controller Ingress to parse and add *-snippet annotations created by the user.

This can be changed by setting controller.allowSnippetAnnotations to true.

We recommend enabling this option only if you TRUST users with permission to create Ingress objects, as this may allow a user to add restricted configurations to the final nginx.conf file.

This is a mitigation against CVE-2021-25742.

Tests on workload clusters

  • Upgrade from previous version works

@ubergesundheit ubergesundheit marked this pull request as ready for review October 22, 2021 09:02
@ubergesundheit ubergesundheit requested a review from a team as a code owner October 22, 2021 09:02
@ubergesundheit
Copy link
Member Author

Merging with a ping @giantswarm/team-cabbage

@ubergesundheit ubergesundheit merged commit 88c5ec6 into master Oct 22, 2021
@ubergesundheit ubergesundheit deleted the add-and-disable-allow-snippet-annotations branch October 22, 2021 10:38
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.

1 participant