Zukeの脆弱性、シークレットの値がGitHub Actionsの要約に平文で出力される
Summary
Zukeの1.51.0より前の@zuke/coreでは、secret()で解決された値を含むreportSummary(...)の内容が、マスキングされないままGITHUB_STEP_SUMMARYに書き出されます。ワークフローの実行を閲覧できる人なら、公開リポジトリでは未認証の閲覧者でも認証情報を読めるおそれがあり、実行を削除するまで残ります。修正版は1.51.0です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Zukeの1.51.0より前の@zuke/coreでは、secret()で解決された値を含むreportSummary(...)の内容が、マスキングされないままGITHUB_STEP_SUMMARYに書き出されます。ワークフローの実行を閲覧できる人なら、公開リポジトリでは未認証の閲覧者でも認証情報を読めるおそれがあり、実行を削除するまで残ります。修正版は1.51.0です。
Original description The description as published by the source.
Zuke is a code-first, strongly typed build automation system for Deno. Prior to 1.51.0, @zuke/core writes rendered reportSummary(...) notes to GITHUB_STEP_SUMMARY through writeJobSummary without applying the redactor that protects resolved secret() values in console and persisted run output. A GitHub Actions build that places secret-derived text in a summary note can publish credentials in cleartext to everyone able to view the workflow run, including unauthenticated viewers of a public repository, and the durable summary remains exposed until the run is deleted. GitHub Actions masking directives do not protect the summary file, while runs outside GitHub Actions and builds that do not summarize secret-derived text are not affected. This issue is fixed in version 1.51.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com