{
    "Provider": "aws",
    "CheckID": "elbv2_desync_mitigation_mode",
    "CheckTitle": "Check whether the Application Load Balancer is configured with defensive or strictest desync mitigation mode.",
    "CheckType": ["Data Protection"],
    "ServiceName": "elbv2",
    "SubServiceName": "",
    "ResourceIdTemplate": "arn:partition:service:region:account-id:resource-id",
    "Severity": "medium",
    "ResourceType": "AwsElasticLoadBalancingV2LoadBalancer",
    "Description": "Check whether the Application Load Balancer is configured with defensive or strictest desync mitigation mode.",
    "Risk": "HTTP Desync issues can lead to request smuggling and make your applications vulnerable to request queue or cache poisoning; which could lead to credential hijacking or execution of unauthorized commands.",
    "RelatedUrl": "",
    "Remediation": {
      "Code": {
        "CLI": "aws elbv2 modify-load-balancer-attributes --load-balancer-arn <alb arn> --attributes Key=routing.http.desync_mitigation_mode,Value=<defensive/strictest>",
        "NativeIaC": "",
        "Other": "",
        "Terraform": ""
      },
      "Recommendation": {
        "Text": "Ensure Application Load Balancer is configured with defensive or strictest desync mitigation mode.",
        "Url": "https://aws.amazon.com/about-aws/whats-new/2020/08/application-and-classic-load-balancers-adding-defense-in-depth-with-introduction-of-desync-mitigation-mode/"
      }
    },
    "Categories": [],
    "Tags": {
      "Tag1Key": "value",
      "Tag2Key": "value"
    },
    "DependsOn": [],
    "RelatedTo": [],
    "Notes": "",
    "Compliance": []
  }
