cve.bz

CVE-2018-20321 suse rancher: Exposure of Resource to Wrong Sphere

8.8 highEPSS 1.8%Fix available

High (8.8) in suse rancher. EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/rancher/rancher 2.1.6, 2.1.6+incompatible.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-20321 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20321?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20321?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20321 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
suse:rancherfrom 2.0.0 through 2.1.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9qq2-xhmc-h9qrGogithub.com/rancher/rancher>=2.0.0 <2.1.62.1.6
GO-2022-0644Gogithub.com/rancher/rancher>=2.0.0+incompatible <2.1.6+incompatible2.1.6+incompatible

References

Check your stackJSON