Sensitive Terraform Output Values Printed At Info Logging Level In Kitchen-Terraform
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-532.
Summary
Kitchen-Terraform provides a set of Test Kitchen plugins which enable the use of Test Kitchen to converge a Terraform configuration and verify the resulting infrastructure systems with InSpec controls. Kitchen-Terraform v7.0.0 introduced a regression which caused all Terraform output values, including sensitive values, to be printed at the `info` logging level during the `kitchen converge` action. Prior to v7.0.0, the output values were printed at the `debug` level to avoid writing sensitive values to the terminal by default. An attacker would need access to the local machine in order to gain access to these logs during an operation. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| newcontext-oss | kitchen-terraform | 7.0.0 to before 7.0.1 | 7.0.1 | Patch available | CNA |
| — | kitchen-terraform (RubyGems) | 7.0.0 to before 7.0.1 | 7.0.1 | Patch available | GHSA-65g2-x53q-cmf6 |
- kitchen-terraform Vendornewcontext-oss Affected 7.0.0 to before 7.0.1 Fixed in 7.0.1 Patch available CNA
- kitchen-terraform (RubyGems) Vendor— Affected 7.0.0 to before 7.0.1 Fixed in 7.0.1 Patch available GHSA-65g2-x53q-cmf6
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:kitchen-terraform_project:kitchen-terraform:7.0.0:*:*:*:*:ruby:*:* | 7.0.0 | Vulnerable | Kitchen-terraform Project |
- cpe:2.3:a:kitchen-terraform_project:kitchen-terraform:7.0.0:*:*:*:*:ruby:*:* Versions 7.0.0 Vulnerable ·Kitchen-terraform Project
Remediation
- Fix · CNA kitchen-terraform (newcontext-oss) Fixed in 7.0.1
- Fix · GHSA-65g2-x53q-cmf6 kitchen-terraform (RubyGems) Fixed in 7.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-30618
- 2026-10-03 Alias added: GHSA-65g2-x53q-cmf6
References
Patch 1
Advisory 2
Sources
- CVE-2023-30618 · CVE Program
- CVE-2023-30618 · NVD
- FIRST EPSS
- GHSA-65g2-x53q-cmf6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences