CVE-2023-30618 Sensitive Terraform Output Values Printed At Info Logging Level In Kitchen-Terraform
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems kitchen-terraform(RubyGems) | = 7.0.0; >= 7.0.0, < 7.0.1 | 7.0.1 | Fixed |
| kitchen-terraform project kitchen-terraform | = 7.0.0 | No fix listed | Versions listed |
| newcontext-oss kitchen-terraform | = >= 7.0.0, < 7.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems kitchen-terraform(RubyGems) | >= 7.0.0, < 7.0.1 | 7.0.1 |
| rubygems kitchen-terraform(RubyGems) | = 7.0.0 | No fix listed |
| newcontext-oss kitchen-terraform | = >= 7.0.0, < 7.0.1 | No fix listed |
| kitchen-terraform project kitchen-terraform | = 7.0.0 | No fix listed |
References
- https://github.com/newcontext-oss/kitchen-terraform/security/advisories/GHSA-65g2-x53q-cmf6 third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/newcontext-oss/kitchen-terraform/commit/3d20d60e7a891e2dd747df995a31226fa0b4ac48 patch
- github.com exploit
- github.com
- github.com product