garotm - SonarQube Scan Action version upgrade to 6.0.0. #7
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.



Command Injection via sonarqube-scan-action GitHub Action #1
Impact
A command injection vulnerability was discovered in the SonarQube Scan GitHub Action that allows untrusted input arguments to be processed without proper sanitization. Arguments sent to the action are treated as shell expressions, allowing potential execution of arbitrary commands.
Patches
A fix has been released in SonarQube Scan GitHub Action v5.3.1.
Argument injection vulnerability in SonarQube Scan Action #2
A command injection vulnerability exists in SonarQube GitHub Action prior to v6.0.0 when workflows pass user-controlled input to the args parameter on Windows runners without proper validation. This vulnerability bypasses a previous security fix and allows arbitrary command execution, potentially leading to exposure of sensitive environment variables and compromise of the runner environment.
Patches
The vulnerability has been fixed in version v6.0.0. Users should upgrade to this version or later.
Credits
Francois Lajeunesse-Robert (Boostsecurity.io)
References
Community Post: https://community.sonarsource.com/t/sonarqube-scanner-github-action-v6/149281
Fix release: https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v6.0.0
Note
Updates
.github/workflows/sonarcloud.ymlto useSonarSource/sonarqube-scan-action@v6.0.0.Written by Cursor Bugbot for commit 27f26be. This will update automatically on new commits. Configure here.