Incorrect Permission Assignment for Critical Resource Affecting github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/deploy/shield package, versions >=2.0.0 <2.8.2
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMKUBERNETESSIGSAWSLOADBALANCERCONTROLLERPKGDEPLOYSHIELD-8304168
- published 25 Oct 2024
- disclosed 24 Oct 2024
- credit Unknown
How to fix?
Upgrade github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/deploy/shield
to version 2.8.2 or higher.
Overview
Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource due to the absence of specific WebACL annotations on Ingress objects. An attacker can exploit this behavior to automatically disassociate WebACLs from ALBs, potentially leaving them unprotected.
Workaround
This vulnerability can be mitigated by disabling the WebACL management feature using the --enable-waf and --enable-wafv2 command-line flags (Documentation can be found here)