GHSA-8p83-cpfg-fj3g

Suggest an improvement
Source
https://github.com/advisories/GHSA-8p83-cpfg-fj3g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-8p83-cpfg-fj3g/GHSA-8p83-cpfg-fj3g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8p83-cpfg-fj3g
Aliases
Published
2025-04-01T14:19:30Z
Modified
2025-04-02T16:56:49.631666Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Rancher: Restricted Administrator can change Administrator's passwords
Details

Impact

A vulnerability has been identified within Rancher where a Restricted Administrator can change the password of Administrators and take over their accounts.

A Restricted Administrator should be not allowed to change the password of more privileged users unless it contains the Manage Users permissions.

Rancher deployments where the Restricted Administrator role is not being used are not affected by this CVE. Please consult the associated MITRE ATT&CK - Technique - Abuse Elevation Control Mechanism for further information about this category of attack.

Patches

The fix introduces a few changes: 1. If the user has a manage-users verb, the user is allowed to edit/delete users. That way the Manage Users built in role will still be able to edit ALL users. 2. If the user doesn't have manage-users, just edit or delete, then there is a check to ensure that the User being edited only has rules equal to or less than the editor.

Patched versions include releases v2.8.14, v2.9.8, v2.10.4 and v2.11.0

Workarounds

Users are recommended to upgrade, as soon as possible, to a version of Rancher Manager that contains the fix. If users can't upgrade, the following are recommended: 1. Limit access to Rancher Restricted Admin only to trusted users. 2. Downgrade Restricted Administrators to custom roles with limited permissions.

References

If you have any questions or comments about this advisory: - Reach out to the SUSE Rancher Security team for security related inquiries. - Open an issue in the Rancher repository. - Verify with our support matrix and product support lifecycle.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-266"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-01T14:19:30Z"
}
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.8.0
Fixed
2.8.14

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.9.0
Fixed
2.9.8

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.10.0
Fixed
2.10.4