{"answers":{"affected":"3 open source packages ship an affected version, including github.com/chaosblade-io/chaosblade.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-47105 exists.","fix":"Upgrade github.com/chaosblade-io/chaosblade to 1.7.4 or later.","what":"CVE-2023-47105 is a high-severity command injection vulnerability in n/a, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-47105 and fix it if it is affected.\n\nWhat it is: CVE-2023-47105 is a high-severity command injection vulnerability in n/a, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-47105 exists.\n\nAffected packages and fixed versions:\n- github.com/chaosblade-io/chaosblade (Go): affected from 0.0.3; fixed in 1.7.4\n- github.com/chaosblade-io/chaosblade (Go): affected from 0.0.3; fixed in 1.7.4\n- github.com/chaosblade-io/chaosblade (Go): affected from 0.0.3; fixed in 1.7.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-47105/ (Markdown: https://insights.sbomify.com/CVE-2023-47105/index.md)","id":"CVE-2023-47105","markdown":"https://insights.sbomify.com/CVE-2023-47105/index.md","name":"CVE-2023-47105","record":{"aliases":["GHSA-723h-x37g-f8qm","GO-2024-3133"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Chaosblade server","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary OS commands in Chaosblade server mode via the cmd parameter.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-47105.yaml","stars":null,"title":"Chaosblade \u003c 1.7.4 - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Chaosblade vulnerable to OS command execution","id":"CVE-2023-47105","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Incorrect processing of fragment in the URL leads to Authorization Bypass in Traefik","id":"CVE-2023-47106"},"packages":[{"ecosystem":"Go","fixed":["1.7.4"],"introduced":["0.0.3"],"last_affected":[],"package":"github.com/chaosblade-io/chaosblade","purl":null,"source":"GHSA-723h-x37g-f8qm"},{"ecosystem":"Go","fixed":["1.7.4"],"introduced":["0.0.3"],"last_affected":[],"package":"github.com/chaosblade-io/chaosblade","purl":"pkg:golang/github.com/chaosblade-io/chaosblade","source":"GHSA-723h-x37g-f8qm"},{"ecosystem":"Go","fixed":["1.7.4"],"introduced":["0.0.3"],"last_affected":[],"package":"github.com/chaosblade-io/chaosblade","purl":"pkg:golang/github.com/chaosblade-io/chaosblade","source":"GO-2024-3133"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2023-47104"},"products":["n/a"],"published":"2024-09-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-18","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary OS commands in Chaosblade server mode via the cmd parameter.","url":"https://insights.sbomify.com/CVE-2023-47105/"}