compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in compose-lint 0.32.0 and tmatens/compose-lint 0.32.0.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| tmatens | >=0.2.0 <0.32.0 | ||
| pypi: compose-lint | >=0.2.0 <0.32.0, >=0.2.0 <=0.31.0 | 0.32.0 | |
| actions: tmatens/compose-lint | >=0.2.0 <=0.31.0 | 0.32.0 | |
| github actions: tmatens/compose-lint | >=0.2.0 <0.32.0 | 0.32.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in tmatens/compose-lint (GitHub Actions), strongest first
Embed
A live severity badge for an advisory, README or ticket