compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| tmatenscompose-lint | — | 記載なし |
| pipcompose-lint |
0.25.0 未満→ 0.25.0 |
0.25.0 |
| actionstmatens/compose-lint |
0.25.0 未満→ 0.25.0 |
0.25.0 |
| PyPIcompose-lint |
0.2.0 以上 0.25.0 未満→ 0.25.0 |
0.25.0 |
| GitHub Actionstmatens/compose-lint |
0.2.0 以上 0.25.0 未満→ 0.25.0 60c091c7cc8f86c6b0c5954031097364fea0a201 以上 cb12b5313ff1fb182ff3c832b41ff3d574a68c6b 未満→ cb12b5313ff1fb182ff3c832b41ff3d574a68c6b |
0.25.0 cb12b5313ff1fb182ff3c832b41ff3d574a68c6b |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.25.0, compose-lint follows a project-controlled symbolic link used as the Compose file outside the project. The same issue affects compose.override.yml and a COMPOSE_FILE entry from 0.22.0, and an env_file target from 0.23.0. If an external Compose-related target fails YAML parsing, the error quotes an attacker-uncontrolled line into standard error, JSON errors, and SARIF notifications, while an external env_file can expose credential-like key names through CL-0020 and CL-0021 findings. The attacker selects the target path but not the exact parser-failure line, values from env_file are not printed, and the pass or fail result is unchanged. This issue is fixed in version 0.25.0.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com