Incorrect Permission Assignment for Critical Resource Affecting github.com/rancher/rancher/pkg/capr/planner package, versions >=2.7.0 <2.8.9-alpha10>=2.9.0 <2.9.3-alpha4


Severity

Recommended
0.0
critical
0
10

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

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-GITHUBCOMRANCHERRANCHERPKGCAPRPLANNER-8309426
  • published29 Oct 2024
  • disclosed25 Oct 2024
  • creditUnknown

Introduced: 25 Oct 2024

CVE-2023-32197  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/rancher/pkg/capr/planner to version 2.8.9-alpha10, 2.9.3-alpha4 or higher.

Overview

github.com/rancher/rancher/pkg/capr/planner is a project that provides a container management platform built for organizations that deploy containers in production

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource in the form of weak Access Control Lists (ACL) on sensitive files on Windows nodes. A user in the groups BUILTIN\Users or NT AUTHORITY\Authenticated Users may be able to escalate privileges due to the following files and patterns not being adequately protected:

C:\etc\rancher\wins\config
C:\var\lib\rancher\agent\rancher2_connection_info.json
C:\etc\rancher\rke2\config.yaml.d\50-rancher.yaml
C:\var\lib\rancher\agent\applied\*-*-applied.plan
C:\usr\local\bin\rke2
C:\var\lib\rancher\capr\idempotence\idempotent.sh
C:\etc\rancher\node\password
C:\var\lib\rancher\rke2\agent\logs\kubelet.log
C:\var\lib\rancher\rke2\data\v1.**.**-rke2r*-windows-amd64-*\bin\*
C:\var\lib\rancher\rke2\bin\*

CVSS Scores

version 4.0
version 3.1