Authentication Bypass Affecting github.com/rancher/rancher/pkg/settings package, versions >=2.7.0 <2.7.15 >=2.8.0 <2.8.8 >=2.9.0 <2.9.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th 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-GITHUBCOMRANCHERRANCHERPKGSETTINGS-8102340
  • published 27 Sep 2024
  • disclosed 26 Sep 2024
  • credit Jarkko Vesiluoma

How to fix?

Upgrade github.com/rancher/rancher/pkg/settings to version 2.7.15, 2.8.8, 2.9.2 or higher.

Overview

github.com/rancher/rancher/pkg/settings is a complete container management platform

Affected versions of this package are vulnerable to Authentication Bypass through the server-url configuration. An attacker can hijack the Rancher agents by manipulating the domain resolution or intercepting the network traffic to redirect the server URL to a malicious endpoint.

Notes:

  1. This is only exploitable if the attacker has control over the domain or can perform a DNS spoofing/hijacking attack.

  2. For non-Windows nodes, this is fixed since 2.7.15, v2.8.6 and v2.9.0.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
7.1 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    High
  • Availability (VA)
    Low
  • Confidentiality (SC)
    High
  • Integrity (SI)
    High
  • Availability (SA)
    None