GHSA-9qq2-xhmc-h9qr

Suggest an improvement
Source
https://github.com/advisories/GHSA-9qq2-xhmc-h9qr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-9qq2-xhmc-h9qr/GHSA-9qq2-xhmc-h9qr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9qq2-xhmc-h9qr
Aliases
Published
2021-06-23T17:57:10Z
Modified
2024-08-21T15:57:38.275067Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Access Control Bypass
Details

An issue was discovered in Rancher 2 through 2.1.5. Any project member with access to the default namespace can mount the netes-default service account in a pod, and then use that pod to execute administrative privileged commands against the k8s cluster. This could be mitigated by isolating the default namespace in a separate project, where only cluster admins can be given permissions to access. As of 2018-12-20, this bug affected ALL clusters created or imported by Rancher.

Database specific
{
    "nvd_published_at": "2019-04-10T14:29:00Z",
    "cwe_ids": [
        "CWE-288",
        "CWE-668"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-12T18:10:58Z"
}
References

Affected packages

Go / github.com/rancher/rancher

Package

Name
github.com/rancher/rancher
View open source insights on deps.dev
Purl
pkg:golang/github.com/rancher/rancher

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.1.6