compose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit quotes a secret from a CI-generated `.env`
This is an incomplete fix for GHSA-jf3h-8jvx-vcrg. 0.32.0 made findings quote the ${NAME} a sibling .env filled in, instead of its value. The same release added a stop at 20,000 findings per document, and that stop is checked before the quoting step. A run that hits it reports the findings graded so far with the resolved values still in them, in text, JSON and SARIF output. That happens with or without --allow-partial-coverage.
Recorded fixes — compose-lint: 0.33.0; tmatens/compose-lint: 0.33.0 or 691e08bd1881ada886e3f556d0793079e8114451. Check your release branch.
Public exploit reference
| Affected range | Recorded fix |
|---|---|
| From 0.32.0 before 0.33.0Ecosystem versions | 0.33.0 |
| From 2d42617e4c6416f797bbfc6a057950131fa02df3 before 691e08bd1881ada886e3f556d0793079e8114451Git commits | 691e08bd1881ada886e3f556d0793079e8114451 |
Version evidence: OSV · GHSA-rm8w-w798-g545
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.32.0"
},
{
"fixed": "0.33.0"
}
],
"type": "ECOSYSTEM"
},
{
"events": [
{
"introduced": "2d42617e4c6416f797bbfc6a057950131fa02df3"
},
{
"fixed": "691e08bd1881ada886e3f556d0793079e8114451"
}
],
"type": "GIT",
"repo": "https://github.com/tmatens/compose-lint"
}
],
"versions": [
"0.32.0",
"v0.32.0"
]
}