Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1oNjI2LXB2NjYtaGhtN84AA1xR
Terraform allows arbitrary file write during the `init` operation
Terraform version 1.0.8 through 1.5.6 allows arbitrary file write during the init
operation if run on maliciously crafted Terraform configuration. This vulnerability is fixed in Terraform 1.5.7.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oNjI2LXB2NjYtaGhtN84AA1xR
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 3 months ago
Updated: 22 days ago
CVSS Score: 6.3
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N
Identifiers: GHSA-h626-pv66-hhm7, CVE-2023-4782
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-4782
- https://discuss.hashicorp.com/t/hcsec-2023-27-terraform-allows-arbitrary-file-write-during-init-operation/58082
- https://github.com/hashicorp/terraform/pull/33745
- https://github.com/hashicorp/terraform/commit/0f2314fb62193c4be94328cc026fcb7ec1e9b893
- https://github.com/hashicorp/terraform/releases/tag/v1.5.7
- https://github.com/advisories/GHSA-h626-pv66-hhm7
Affected Packages
go:github.com/hashicorp/terraform
Versions: >= 1.0.8, < 1.5.7Fixed in: 1.5.7