Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') Affecting github.com/chaosblade-io/chaosblade/cli/cmd package, versions >=0.3.0 <1.7.4


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.44% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCHAOSBLADEIOCHAOSBLADECLICMD-8056951
  • published19 Sept 2024
  • disclosed18 Sept 2024
  • creditUnknown

Introduced: 18 Sep 2024

CVE-2023-47105  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

Upgrade github.com/chaosblade-io/chaosblade/cli/cmd to version 1.7.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') via the exec.CommandContext function. An attacker can execute arbitrary OS commands by supplying a malicious cmd parameter.

Note: This is only exploitable when server mode is used without authentication.

CVSS Scores

version 4.0
version 3.1