Vulnerability · Published Apr 21, 2023 · Assigned by GitHub_M
CVE-2023-30618Sensitive Terraform Output Values Printed At Info Logging Level In Kitchen-Terraform
Low 3.2
In plain English
A low-severity sensitive data in logs in kitchen-terraform from newcontext-oss. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | kitchen-terraform | 7.0.1 | GHSA-65g2-x53q-cmf6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| newcontext-oss | kitchen-terraform | >= 7.0.0, < 7.0.1 |
Weakness: CWE-532 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N