Improper Control of Generation of Code ('Code Injection') Affecting github.com/rancher/rancher package, versions >=2.0.0 <2.2.4


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.1% (44th 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 IDSNYK-GOLANG-GITHUBCOMRANCHERRANCHER-6673739
  • published25 Apr 2024
  • disclosed24 May 2022
  • creditTyler Welton

Introduced: 24 May 2022

CVE-2019-12303  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/rancher to version 2.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') due to improper handling of fluentd configuration commands. An attacker with project owner privileges can execute arbitrary commands inside the fluentd container by injecting malicious fluentd configuration.