compose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit quotes a secret from a CI-generated `.env`
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| tmatenscompose-lint | — | Not listed |
| pipcompose-lint |
< 0.33.0→ 0.33.0 |
0.33.0 |
| actionstmatens/compose-lint |
< 0.33.0→ 0.33.0 |
0.33.0 |
| PyPIcompose-lint |
≥ 0.32.0, < 0.33.0→ 0.33.0 |
0.33.0 |
| GitHub Actionstmatens/compose-lint |
≥ 0.32.0, < 0.33.0→ 0.33.0 ≥ 2d42617e4c6416f797bbfc6a057950131fa02df3, < 691e08bd1881ada886e3f556d0793079e8114451→ 691e08bd1881ada886e3f556d0793079e8114451 |
0.33.0 691e08bd1881ada886e3f556d0793079e8114451 |
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.32.0 until 0.33.0, compose-lint's incomplete remediation for .env secret disclosure checks the 20,000-finding limit before replacing resolved values with their variable references. A pull request can combine a secret-referencing image field with aliased content that produces more than 20,000 findings, causing the early-stop path to emit already graded findings with the resolved secret value in text, JSON, SARIF, and Code Scanning output. Exploitation requires a workflow that writes secrets into the sibling .env and lints untrusted changes, and the run exits 2 unless --allow-partial-coverage is used. This issue is fixed in version 0.33.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