Incorrect Permission Assignment for Critical Resource Affecting github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/deploy/wafregional package, versions >=2.8.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-GITHUBCOMKUBERNETESSIGSAWSLOADBALANCERCONTROLLERPKGDEPLOYWAFREGIONAL-8304169
- published 25 Oct 2024
- disclosed 24 Oct 2024
- credit Unknown
How to fix?
Upgrade github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/deploy/wafregional
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)