Description (CNA)
KanaDojo before 0.1.18 contains a sandbox escape vulnerability that allows an attacker to execute arbitrary code by exploiting the explicit passing of the global require function into a Node.js vm.runInNewContext() sandbox context in the issue-auto-respond.yml workflow. Attackers can submit a pull request modifying messages.cjs to import arbitrary Node.js modules, bypassing sandbox restrictions and achieving remote code execution with full GitHub Actions runner privileges including access to AUTOMATION_PR_TOKEN.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| lingdojo / kana-dojo | affected 0 before 0.1.18 |
CWE
CWE-693
References
- https://github.com/lingdojo/kana-dojo/releases/tag/v0.1.18
- https://github.com/lingdojo/kana-dojo/commit/31b85a5d7c4b323ddeba3b2dc5e7807558710544
- https://www.vulncheck.com/advisories/kanadojo-sandbox-escape-rce-via-messages-cjs
ADP enrichment
No English description supplied.
No references supplied.