Incorrect Permission Assignment for Critical Resource Affecting sigs.k8s.io/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

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-SIGSK8SIOAWSLOADBALANCERCONTROLLERPKGDEPLOYWAFV2-8304175
  • published 25 Oct 2024
  • disclosed 24 Oct 2024
  • credit Unknown

Introduced: 24 Oct 2024

New CVE NOT AVAILABLE CWE-732 Open this link in a new tab

How to fix?

Upgrade sigs.k8s.io/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
Expand this section

Snyk

Recommended
6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None