Rancher: Path traversal in Fleet Helm valuesFiles allows disclosure of files outside the bundle directory
What fixes it
- 0.16.2RancherCVE List
- 0.15.7RancherCVE List
- 0.14.11RancherCVE List
- 0.13.16RancherCVE List
- 0.12.20RancherCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
A user who can supply bundle content to a repository referenced by a GitRepo resource, for example through Git push access, or through permission to create or modify a GitRepo, can cause SUSE Rancher Fleet to read files from the filesystem of the environment that processes the bundle and include their contents in the generated Bundle resource. This can expose configuration or credential material that the user has no Kubernetes RBAC permission to read, including Helm registry credentials made available to the bundle-processing job when per-path Helm credentials are configured. This affects Fleet 0.16 before 0.16.2, 0.15 before 0.15.7, 0.14 before 0.14.11, 0.13 before 0.13.16, 0.12 before 0.12.20 and potentially older unsupported versions.
Text from GitHub Advisory Database
Affected versions 10
- Rancheraffected: 0.16.0 before 0.16.2CVE List
- Rancheraffected: 0.15.0 before 0.15.7CVE List
- Rancheraffected: 0.14.0 before 0.14.11CVE List
- Rancheraffected: 0.13.0 before 0.13.16CVE List
- Rancheraffected: 0.12.0 before 0.12.20CVE List
- github.com/rancher/fleet, go>=v0.16.0, <v0.16.2GitHub
- github.com/rancher/fleet, go>=v0.15.0, <v0.15.7GitHub
- github.com/rancher/fleet, go>=v0.14.0, <v0.14.11GitHub
- github.com/rancher/fleet, go>=v0.13.0, <v0.13.16GitHub
- github.com/rancher/fleet, go>=v0.12.0, <v0.12.20GitHub