compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| tmatenscompose-lint | — | Not listed |
| pipcompose-lint |
< 0.32.0→ 0.32.0 |
0.32.0 |
| actionstmatens/compose-lint |
< 0.32.0→ 0.32.0 |
0.32.0 |
| PyPIcompose-lint |
≥ 0.2.0, < 0.32.0→ 0.32.0 |
0.32.0 |
| GitHub Actionstmatens/compose-lint |
≥ 0.2.0, < 0.32.0→ 0.32.0 ≥ 60c091c7cc8f86c6b0c5954031097364fea0a201, < 2d42617e4c6416f797bbfc6a057950131fa02df3→ 2d42617e4c6416f797bbfc6a057950131fa02df3 |
0.32.0 2d42617e4c6416f797bbfc6a057950131fa02df3 |
Original description The description as published by the source.
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.32.0, compose-lint automatically follows a .compose-lint.yml policy-file symbolic link outside the project and includes part of the target line when that external file fails YAML parsing. A pull request can point the policy file at a runner credential file, causing about 30 characters around an attacker-uncontrolled parse position to appear in standard error, JSON errors, and SARIF tool execution notifications uploaded by the GitHub Action. The run exits with an error and the attacker cannot select the exact disclosed line, but public logs or Code Scanning output can reveal part of the target. This issue is fixed in version 0.32.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