CVE-2023-4782
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
Terraform allows arbitrary file write during the `init` operation in github.com/hashicorp/terraform
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/hashicorp/terraform | >=1.0.8,<1.5.7 | 1.5.7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-4782
- https://github.com/hashicorp/terraform/pull/33745
- https://github.com/hashicorp/terraform/commit/0f2314fb62193c4be94328cc026fcb7ec1e9b893
- https://discuss.hashicorp.com/t/hcsec-2023-27-terraform-allows-arbitrary-file-write-during-init-operation/58082
- https://github.com/hashicorp/terraform
- https://github.com/hashicorp/terraform/releases/tag/v1.5.7
- https://github.com/advisories/GHSA-h626-pv66-hhm7
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.