—
GO-2023-2055
Terraform allows arbitrary file write during the `init` operation in github.com/hashicorp/terraform
Quick fix
GO-2023-2055 — github.com/hashicorp/terraform: upgrade to the fixed version with the command below.
go get github.com/hashicorp/terraform@v1.5.7Details
Terraform allows arbitrary file write during the `init` operation in github.com/hashicorp/terraform
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/hashicorp/terraform
Introduced in:
1.0.8Fixed in: 1.5.7Fix
go get github.com/hashicorp/terraform@v1.5.7References
- https://github.com/advisories/GHSA-h626-pv66-hhm7[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2023-4782[ADVISORY]
- https://github.com/hashicorp/terraform/commit/0f2314fb62193c4be94328cc026fcb7ec1e9b893[FIX]
- https://github.com/hashicorp/terraform/pull/33745[FIX]
- https://discuss.hashicorp.com/t/hcsec-2023-27-terraform-allows-arbitrary-file-write-during-init-operation/58082[WEB]
- https://github.com/hashicorp/terraform/releases/tag/v1.5.7[WEB]