Description (CNA)
MaaAssistantArknights is a one-click tool for daily Arknights tasks. In the current dev-v2 workflow, .github/workflows/release-preparation.yml inlined attacker-controlled github.event.pull_request.title into a run: shell command during the pull_request opened, reopened, and ready_for_review events, so a non-draft fork PR whose title starts with Release v could execute shell commands on the ubuntu-latest runner during the generate-changelog job. This vulnerability is fixed by commit cafc3946059e6337d2089d4fec8b6885ba17c332.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| MaaAssistantArknights / MaaAssistantArknights | affected < cafc3946059e6337d2089d4fec8b6885ba17c332 |
CWE
CWE-78, CWE-94
References
- https://github.com/MaaAssistantArknights/MaaAssistantArknights/security/advisories/GHSA-pqx2-5g66-f5w8
- https://github.com/MaaAssistantArknights/MaaAssistantArknights/commit/cafc3946059e6337d2089d4fec8b6885ba17c332
ADP enrichment
No English description supplied.
No references supplied.