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

Fix global config-backend snippet config #856

Merged
merged 1 commit into from
Sep 16, 2021
Merged

Conversation

jcmoraisjr
Copy link
Owner

The mitigation of CVE-2021-25740 added a command-line option to allow a sysadmin to partially or completely remove backend configuration snippet. This option added a new code where there was only a straightforward assignment. This code fails on how to check if a configuration has a source and, instead of adjust the logging message, the whole assignment was being skipped. However a global configuration by definition doesn't have a source, leading to backend configuration snippet being skipped if not configured via ingress or service annotation.

This fix should be merged up to v0.10.

The mitigation of CVE-2021-25740 added a command-line option to allow a
sysadmin to partially or completely remove backend configuration
snippet. This option added a new code where there was only a
straightforward assignment. This code fails on how to check if a
configuration has a source and, instead of adjust the logging message,
the whole assignment was being skipped. However a global configuration
by definition doesn't have a source, leading to backend configuration
snippet being skipped if not configured via ingress or service
annotation.

This fix should be merged up to v0.10.
@jcmoraisjr
Copy link
Owner Author

#854

@jcmoraisjr jcmoraisjr merged commit 420969f into master Sep 16, 2021
@jcmoraisjr jcmoraisjr deleted the jm-fix-config-backend branch September 16, 2021 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant