AWS SAM CLI command injection in Terraform hook resource address
aws-sam-cli
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| AWS aws-sam-cli |
| No fix yet |
Original description
OS command injection in the Terraform hook in AWS SAM CLI before 1.166.2 might allow an actor who can influence the Terraform configuration or plan file consumed by a build to execute arbitrary commands as the build user on the host running the build via a crafted Terraform resource address.
To remediate this issue, users should upgrade to version 1.166.2 or later.
From the CVE record · AMZN