Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2018-20321

HIGH 8.8EPSS 79%

Access Control Bypass

Also known as GHSA-9qq2-xhmc-h9qr, GO-2022-0644

Mitigation

  • Upgrade github.com/rancher/rancher to one of 2.1.6, 2.1.6+incompatible (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/rancher/rancher (>= 2.0.0, < 2.1.6)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
github.com/rancher/rancher >= 2.0.0, < 2.1.6
Fixed in
2.1.6, 2.1.6+incompatible
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.8 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.77% chance of exploitation in 30 days (percentile 79, 2026-11-26)
CWE
CWE-668
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/rancher/rancher>= 2.0.0, < 2.1.62.1.6, 2.1.6+incompatibleosv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2018-20321. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-20321.md
Affected: github.com/rancher/rancher >= 2.0.0, < 2.1.6
Fixed in: 2.1.6, 2.1.6+incompatible

Steps:
1. Search this machine and project for github.com/rancher/rancher (Go), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2018-20321 being exploited?

There is no confirmed exploitation: CVE-2018-20321 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.77% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2018-20321?

High: CVSS 8.8 (v3.0, scored by NVD). Remote, login needed.

Which versions are affected by CVE-2018-20321?

github.com/rancher/rancher >= 2.0.0, < 2.1.6.

Is there a fix for CVE-2018-20321?

Yes. Fixed in 2.1.6, 2.1.6+incompatible. Upgrade github.com/rancher/rancher to one of 2.1.6, 2.1.6+incompatible (or later in the same release line).

How do I check if I'm affected by CVE-2018-20321?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors