GHSA-rjfv-pjvx-mjgv

Suggest an improvement
Source
https://github.com/advisories/GHSA-rjfv-pjvx-mjgv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-rjfv-pjvx-mjgv/GHSA-rjfv-pjvx-mjgv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rjfv-pjvx-mjgv
Aliases
Published
2024-10-24T19:04:45Z
Modified
2024-10-28T15:42:19.180698Z
Summary
AWS Load Balancer Controller automatically detaches externally associated web ACL from Application Load Balancers
Details

Summary 

The AWS Load Balancer Controller includes an optional, default-enabled feature that manages WAF WebACLs on Application Load Balancers (ALBs) on your behalf. In versions 2.8.1 and earlier, if the WebACL annotation [1] alb.ingress.kubernetes.io/wafv2-acl-arn or alb.ingress.kubernetes.io/waf-acl-id was absent on Ingresses, the controller would automatically disassociate any existing WebACL from the ALBs, including those associated by AWS Firewall Manager (FMS). Customers on impacted versions should upgrade to prevent this issue from occurring.

Impact 

WebACLs attached to ALBs managed by the AWS Load Balancer Controller through methods other than Ingress annotations may be automatically removed, leaving the ALBs unprotected by WebACL. 

Impacted versions: [>=2.0.0;<2.8.2] 

Patches 

We addressed this issue in version 2.8.2 [2] and recommend customers upgrade. Now, if the WebACL annotation is absent on Ingress objects, any existing WebACL on the ALB will remain intact instead of being removed. 

Workarounds 

If the previous behavior affected you, you can mitigate it by disabling the WebACL management feature using the --enable-waf and --enable-wafv2 command-line flags [3] 

References 

If you have any questions or comments about this advisory, we ask that you contact AWS/Amazon Security via our vulnerability reporting page [4] or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue. 

[1] https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/guide/ingress/annotations/#addons 

[2] https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/tag/v2.8.2 

[3] https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/deploy/configurations/#waf-addons 

[4] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2024-10-24T19:04:45Z"
}
References

Affected packages

Go / sigs.k8s.io/aws-load-balancer-controller

Package

Name
sigs.k8s.io/aws-load-balancer-controller
View open source insights on deps.dev
Purl
pkg:golang/sigs.k8s.io/aws-load-balancer-controller

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.8.2