ci: bump sonarqube-scan-action to v6 (CVE-2025-59844)#1267
Merged
Conversation
GHSA-5xq9-5g24-4g6f: argument injection in SonarSource/sonarqube-scan-action versions >= 4.0.0, < 6.0.0. Fixed in 6.0.0 (Sep 2025). We were pinned to @v5. Practical exploitability against this workflow is bounded — we run on ubuntu-latest (the CVE specifically calls out Windows runners) and do not pass an `args:` input — but bumping to v6 is the cleanest way to clear the Dependabot alert and is the only high-severity runtime-scope finding on master. v6.0.0 rewrote the action from Bash to JS, which changes how `args:` is parsed. We don't set `args:`, so no migration is required for our usage. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
sonarsource/sonarqube-scan-actionfrom@v5to@v6inmain.yml.>= 4.0.0, < 6.0.0, fixed in6.0.0(Sep 2025).Exploitability against this workflow
Bounded but worth fixing on principle:
args:parameter; we runubuntu-latestand don't setargs:.Breaking change check
v6.0.0rewrote the action from Bash to JS and changes howargs:is parsed. We don't setargs:, so no migration is required. Allenv:(GITHUB_TOKEN,SONAR_TOKEN) andif:behavior is unchanged.Test plan
sonarjob runs successfully on this PR.🤖 Generated with Claude Code