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

Unnecessary conditional preventing the application of CVE-2021-25742 mitigation to older versions of ingress-nginx #592

Open
1 task done
AWSmith0216 opened this issue Jan 28, 2025 · 0 comments
Labels
bug Something isn't working new Added to an issue when it's new ;)

Comments

@AWSmith0216
Copy link
Contributor

Viya4 Deployment Version Details

7.2.0

Ansible Variable File Details

INGRESS_NGINX_CHART_VERSION: 4.11.4

Steps to Reproduce

I was attempting to stage an older Kubernetes cluster (i.e. 1.27) and saw that the mitigation for CVE-2021-25742 was not applied. It would seem that the following conditional is preventing its application:

- cluster_info.version.server.kubernetes.minor is version(ingressVersions.k8sMinorVersion.value, 'ge')

Since the current ingressVersions.k8sMinorVersion.value is 28, it seems to be getting skipped for older clusters. However, according to the SAS documentation for all currently supported cadences, this mitigation is required. Given that, I don't believe this particular conditional provides any value, and that simply removing the entire line would yield the desired behavior.

Expected Behavior

ConfigMap updates are applied

Actual Behavior

ConfigMap updates were not applied

Additional Context

No response

References

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@AWSmith0216 AWSmith0216 added bug Something isn't working new Added to an issue when it's new ;) labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new Added to an issue when it's new ;)
Projects
None yet
Development

No branches or pull requests

1 participant