mittel6.3
CVE-2023-4782
Terraform allows arbitrary file write during the `init` operation
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem Administratorkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/hashicorp/terraform | >= 1.0.8, < 1.5.7 | 1.5.7 |
Betroffene Produkte · Hashicorp
| Produkt | Betroffene Versionen |
|---|---|
| Terraform | ab 1.0.8 vor 1.5.7 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://discuss.hashicorp.com/t/hcsec-2023-27-terraform-allows-arbitrary-file-write-during-init-operation/58082
- https://github.com/advisories/GHSA-h626-pv66-hhm7
- https://nvd.nist.gov/vuln/detail/CVE-2023-4782
- https://github.com/hashicorp/terraform/pull/33745
- https://github.com/hashicorp/terraform/commit/0f2314fb62193c4be94328cc026fcb7ec1e9b893
- https://github.com/hashicorp/terraform/releases/tag/v1.5.7