{"answers":{"affected":"2 open source packages ship an affected version, including kitchen-terraform. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-30618 in the wild and no public exploit code.","fix":"Upgrade kitchen-terraform to 7.0.1 or later.","what":"CVE-2023-30618 is a low-severity vulnerability in newcontext-oss kitchen-terraform, published on 21 Apr 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-30618 and fix it if it is affected.\n\nWhat it is: CVE-2023-30618 is a low-severity vulnerability in newcontext-oss kitchen-terraform, published on 21 Apr 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-30618 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kitchen-terraform (RubyGems): affected from 7.0.0; fixed in 7.0.1\n- kitchen-terraform (RubyGems): affected from 7.0.0; fixed in 7.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-30618/ (Markdown: https://insights.sbomify.com/CVE-2023-30618/index.md)","id":"CVE-2023-30618","markdown":"https://insights.sbomify.com/CVE-2023-30618/index.md","name":"CVE-2023-30618","record":{"aliases":["GHSA-65g2-x53q-cmf6"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Terraform testing plugin","requires_auth":"low_privilege","summary":"Sensitive Terraform output values are logged at info level, allowing local attackers to read secrets from terminal logs.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kitchen-terraform","vendor":"kitchen-terraform_project"}],"cvss":{"score":3.2,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"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.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Sensitive Terraform Output Values Printed At Info Logging Level In Kitchen-Terraform","id":"CVE-2023-30618","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"XSS in the tooltip via an artifact title","id":"CVE-2023-30619"},"packages":[{"ecosystem":"RubyGems","fixed":["7.0.1"],"introduced":["7.0.0"],"last_affected":[],"package":"kitchen-terraform","purl":null,"source":"GHSA-65g2-x53q-cmf6"},{"ecosystem":"RubyGems","fixed":["7.0.1"],"introduced":["7.0.0"],"last_affected":[],"package":"kitchen-terraform","purl":"pkg:gem/kitchen-terraform","source":"GHSA-65g2-x53q-cmf6"}],"prev":{"headline":"Leverage the kruise-daemon pod to list all secrets in the entire cluster","id":"CVE-2023-30617"},"products":["kitchen-terraform"],"published":"2023-04-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-04","vendors":["newcontext-oss"]},"summary":"Sensitive Terraform output values are logged at info level, allowing local attackers to read secrets from terminal logs.","url":"https://insights.sbomify.com/CVE-2023-30618/"}