GHSA-h626-pv66-hhm7

Suggest an improvement
Source
https://github.com/advisories/GHSA-h626-pv66-hhm7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-h626-pv66-hhm7/GHSA-h626-pv66-hhm7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h626-pv66-hhm7
Aliases
Published
2023-09-08T18:30:29Z
Modified
2024-08-21T14:56:52.851383Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N CVSS Calculator
Summary
Terraform allows arbitrary file write during the `init` operation
Details

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.

Database specific
{
    "nvd_published_at": "2023-09-08T18:15:07Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-08T19:43:48Z"
}
References

Affected packages

Go / github.com/hashicorp/terraform

Package

Name
github.com/hashicorp/terraform
View open source insights on deps.dev
Purl
pkg:golang/github.com/hashicorp/terraform

Affected ranges

Type
SEMVER
Events
Introduced
1.0.8
Fixed
1.5.7