Insertion of Sensitive Information into Log File Affecting github.com/rancher/rancher package, versions >=2.6.0 <2.6.14>=2.7.0 <2.7.10>=2.8.0 <2.8.2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.83% (88th 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 Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMRANCHERRANCHER-6239654
  • published9 Feb 2024
  • disclosed8 Feb 2024
  • creditUnknown

Introduced: 8 Feb 2024

CVE-2023-22649  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/rancher to version 2.6.14, 2.7.10, 2.8.2 or higher.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the "Rancher Audit Logging" feature. An attacker can access sensitive information by exploiting the logging of sensitive data such as HTTP headers, API server calls, and raw command lines used by agents. This is only exploitable if the AUDIT_LEVEL is set to 1 or above and the Audit Logging feature is enabled.

Workaround

This vulnerability can be mitigated by ensuring that the log is handled appropriately and it is not shared with other users or shipped into a log ingestion solution without the appropriate RBAC enforcement. Alternatively, disabling the Audit feature or decreasing it to the audit level 0, mitigates the issue.

CVSS Scores

version 3.1