Vulnerabilities in pkg:golang/github.com/chaosblade-io/chaosblade
PACKAGECVE-2023-47105 is a CRITICAL (CVSS 9.8) chaosblade vulnerable to os command vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Github.com/chaosblade io/chaosblade libraries in the Go ecosystem. The issue involves chaosblade vulnerable to os command execution. Remediation is available by upgrading affected packages to version 1.7.4.
pkg:golang/github.com/chaosblade-io/chaosblade
Vulnerability advisories affecting package pkg:golang/github.com/chaosblade-io/chaosblade. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-723h-x37g-f8qm | CVE-2023-47105 | CRITICAL | Chaosblade vulnerable to OS command execution |
CVE-2023-47105 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-47105
To remediate this vulnerability, upgrade all affected Github.com/chaosblade io/chaosblade dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/chaosblade-io/chaosblade to 1.7.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/chaosblade-io/chaosblade
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-47105, inspect your project dependencies for Github.com/chaosblade io/chaosblade:
inspect dependencies for github.com/chaosblade-io/chaosblade
Analyze the terminal output to locate any version of Github.com/chaosblade io/chaosblade in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Github.com/chaosblade io/chaosblade, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-47105 Affected Github.com/chaosblade io/chaosblade Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/chaosblade-io/chaosblade
|
Go |
≥ 0.0.3
< 1.7.4
|
1.7.4
|
References
Frequently Asked Questions
What is CVE-2023-47105?
Which Github.com/chaosblade io/chaosblade versions are affected?
What version fixes CVE-2023-47105?
Is github.com/chaosblade-io/chaosblade affected?
What is the CVSS score of CVE-2023-47105?
What CWE is associated with CVE-2023-47105?
How can I check Go dependencies for CVE-2023-47105?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-723h-x37g-f8qm",
"modified" : "2024-09-25T19:28:11Z",
"published" : "2024-09-18T18:30:51Z",
"aliases" : [ "CVE-2023-47105" ],
"summary" : "Chaosblade vulnerable to OS command execution",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/chaosblade-io/chaosblade"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.3"
}, {
"fixed" : "1.7.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-47105"
}, {
"type" : "WEB",
"url" : "https://github.com/chaosblade-io/chaosblade/commit/6bc73c31e14ea2b1bfc30f359e1fe952859d9adc"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-723h-x37g-f8qm"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/chaosblade-io/chaosblade"
}, {
"type" : "WEB",
"url" : "https://github.com/chaosblade-io/chaosblade/blob/0a07380c9899febb2b544132783b376b44226cca/exec/os/executor.go#L68"
}, {
"type" : "WEB",
"url" : "https://narrow-oatmeal-0c0.notion.site/ChaosBlade-Remote-Command-Execution-CVE-2023-47105-4f5459046488436caaec2bced6ff26d7"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78", "CWE-95" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-18T19:34:07Z",
"nvd_published_at" : "2024-09-18T17:15:18Z"
}
}