Incorrect Permission Assignment for Critical Resource Affecting github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/deploy/wafv2 package, versions >=2.8.0 <2.8.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 IDSNYK-GOLANG-GITHUBCOMKUBERNETESSIGSAWSLOADBALANCERCONTROLLERPKGDEPLOYWAFV2-8304174
  • published25 Oct 2024
  • disclosed24 Oct 2024
  • creditUnknown

Introduced: 24 Oct 2024

CVE NOT AVAILABLE CWE-732  (opens in a new tab)

How to fix?

Upgrade github.com/kubernetes-sigs/aws-load-balancer-controller/pkg/deploy/wafv2 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)

CVSS Scores

version 4.0
version 3.1