Lucene search

K
githubGitHub Advisory DatabaseGHSA-65G2-X53Q-CMF6
HistoryApr 24, 2023 - 10:44 p.m.

Sensitive Terraform Output Values Printed At Info Logging Level In Kitchen-Terraform

2023-04-2422:44:38
CWE-532
GitHub Advisory Database
github.com
7
terraform
kitchen-terraform
regression
sensitive values
logging level

3.3 Low

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

0.0004 Low

EPSS

Percentile

9.1%

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.

Affected configurations

Vulners
Node
kitchenterraformRange<7.0.1
CPENameOperatorVersion
kitchen-terraformlt7.0.1

3.3 Low

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

0.0004 Low

EPSS

Percentile

9.1%

Related for GHSA-65G2-X53Q-CMF6