Check provider logo

ECS Fargate service uses the latest Fargate platform version

ecs_service_fargate_latest_platform_version

Severitymedium
Serviceecs
by Prowler

ECS Fargate services use the latest Fargate platform version via platformVersion=LATEST or an explicit value matching the current release for their platformFamily (Linux/Windows).

Risk

Running on an outdated platform leaves known CVEs in the kernel/runtime unpatched, risking:

  • Confidentiality: data exposure via container escape
  • Integrity: privilege escalation and tampering
  • Availability: crashes/DoS and instability under load
Run this check with Prowler CLI

prowler aws --checks ecs_service_fargate_latest_platform_version

Recommendation

  • Prefer platformVersion LATEST to receive patches.
  • If pinning, monitor releases and redeploy quickly to the current version.
  • Automate updates with staged rollouts in CI/CD.
  • Apply defense in depth and least privilege to limit runtime exploit impact.

Remediation

CLI

aws ecs update-service --cluster <cluster-name> --service <service-name> --platform-version LATEST

Native IaC
Terraform
Other
  1. In the AWS Console, go to Amazon ECS
  2. Open your cluster and select the service
  3. Click Update
  4. Set Platform version to LATEST
  5. Click Update service (or Deploy) to apply

Source Code

Resource Type

AwsEcsService

References