GHSA-65g2-x53q-cmf6

Suggest an improvement
Source
https://github.com/advisories/GHSA-65g2-x53q-cmf6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-65g2-x53q-cmf6/GHSA-65g2-x53q-cmf6.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-65g2-x53q-cmf6
Aliases
Published
2023-04-24T22:44:38Z
Modified
2023-11-06T05:25:56.175329Z
Severity
  • 3.2 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Sensitive Terraform Output Values Printed At Info Logging Level In Kitchen-Terraform
Details

Summary

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.

Original Report

@brettcurtis:

Hopefully, I'm not doing something stupid here, but I'm seeing sensitive outputs printed in the kitchen output. You can check this action for an example: https://github.com/osinfra-io/terraform-google-project/actions/runs/4700065515/jobs/8334277309#step:5:215

It's not really a sensitive value just used it as an example.

Database specific
{
    "nvd_published_at": "2023-04-21T20:15:07Z",
    "cwe_ids": [
        "CWE-532"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-24T22:44:38Z"
}
References

Affected packages

RubyGems / kitchen-terraform

Package

Name
kitchen-terraform
Purl
pkg:gem/kitchen-terraform

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.0.1

Affected versions

7.*

7.0.0