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

    Threat Intelligence

    EPSS
    0.1% (43rd 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 ID SNYK-GOLANG-GITHUBCOMRANCHERRANCHER-6673739
  • published 25 Apr 2024
  • disclosed 24 May 2022
  • credit Tyler Welton

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.