CVE-2023-47105 is a high-severity (CVSS 8.6) OS Command Injection vulnerability in github.com/chaosblade-io/chaosblade. A fix is available for github.com/chaosblade-io/chaosblade — see the affected versions and patch details below.
Chaosblade vulnerable to OS command execution
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-47105.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/chaosblade-io/chaosbladeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
exec.CommandContext in Chaosblade 0.3 through 1.7.3, when server mode is used, allows OS command execution via the cmd parameter without authentication.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/chaosblade-io/chaosblade | ≥ 0.0.3&&< 1.7.4 | 1.7.4go get github.com/chaosblade-io/chaosblade@v1.7.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/chaosblade-io/chaosblade, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/chaosblade-io/chaosblade to 1.7.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-47105 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect CVE-2023-47105
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2023-47105 -u https://target- Template
- Chaosblade < 1.7.4 - Remote Code Execution
- Severity
- high
- Impact
- This vulnerability allows unauthenticated attackers to remotely invoke the HTTP service and execute arbitrary commands on any Chaosblade instance with server mode enabled. This could lead to unauthorized access and control over the host system running Chaosblade.
- Remediation
- Fixed in 1.7.4
Template by ProjectDiscovery nuclei-templates (s4e-io), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2023-47105 in your dependencies?
Find it across Go, including transitive dependencies.