compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| tmatenscompose-lint | — | Not listed |
| actionstmatens/compose-lint |
< 0.31.0→ 0.31.0 |
0.31.0 |
| pipcompose-lint |
< 0.31.0→ 0.31.0 |
0.31.0 |
| GitHub Actionstmatens/compose-lint |
≥ 0.2.0, < 0.31.0→ 0.31.0 ≥ 60c091c7cc8f86c6b0c5954031097364fea0a201, < a6a7a76736de1c72abfa96c41ff8af556ffdc55f→ a6a7a76736de1c72abfa96c41ff8af556ffdc55f |
0.31.0 a6a7a76736de1c72abfa96c41ff8af556ffdc55f |
| PyPIcompose-lint |
< 0.31.0→ 0.31.0 |
0.31.0 |
Original description The description as published by the source.
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. Prior to 0.31.0, compose-lint prints attacker-controlled service names, environment keys, file lines, and other Compose text without neutralizing GitHub Actions and Azure Pipelines workflow-command openers. When a workflow processes a pull request, legacy ##[ commands or a line-leading double-colon command can create false annotations, hide log regions, mask selected strings, or invoke other commands recognized by the runner. The affected text report paths do not alter the compose-lint exit code or pass or fail result, but they can misrepresent the CI output presented to reviewers. This issue is fixed in version 0.31.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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