NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

CVE-2020-8559 — apimachinery

MEDIUMFix: kubernetes/kubernetes#92941

CVE-2020-8559 is a medium-severity (CVSS 6.8) Open Redirect vulnerability in k8s.io/apimachinery. 6 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for k8s.io/apimachinery — see the affected versions and patch details below.

Privilege Escalation in Kubernetes

Also known asGHSA-33c5-9fx5-fvjmGO-2024-2748
Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
6 known
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
6.1%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs93th percentile — riskier than 93% of all scored CVEsHighest risk
0.00%21.6%43.2%64.7%51.2%6.1%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

6 pkgs affected
🐹k8s.io/apimachinery🐹k8s.io/apimachinery🐹k8s.io/apimachinery🐹k8s.io/kubernetes🐹k8s.io/kubernetes🐹k8s.io/kubernetes

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

The Kubernetes kube-apiserver in versions v1.6-v1.15, and versions prior to v1.16.13, v1.17.9 and v1.18.6 are vulnerable to an unvalidated redirect on proxied upgrade requests that could allow an attacker to escalate privileges from a node compromise to a full cluster compromise.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
🐹Gok8s.io/apimachineryall versions0.16.13go get k8s.io/apimachinery@v0.16.13
🐹Gok8s.io/apimachinery≥ 0.17.0&&< 0.17.90.17.9go get k8s.io/apimachinery@v0.17.9
🐹Gok8s.io/apimachinery≥ 0.18.0&&< 0.18.70.18.7go get k8s.io/apimachinery@v0.18.7
🐹Gok8s.io/kubernetesall versions1.16.13go get k8s.io/kubernetes@v1.16.13
🐹Gok8s.io/kubernetes≥ 1.17.0&&< 1.17.91.17.9go get k8s.io/kubernetes@v1.17.9
🐹Gok8s.io/kubernetes≥ 1.18.0&&< 1.18.71.18.7go get k8s.io/kubernetes@v1.18.7

Affected Products

1 product · 4 configurations
Application
kuberneteskubernetes
≥ 1.18.0 && ≤ 1.15.0
range
Exploits & PoCs
6

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for k8s.io/apimachinery, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update k8s.io/apimachinery to 0.16.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-8559 is resolved across your whole dependency graph.

  3. Workarounds

    Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

Kubernetes is embedded in the version of heketi shipped with Red Hat Gluster Storage 3. However, it does not use Kubernetes API server part and only uses client side bits. Hence, this flaw does not affect heketi.

Workaround published by Red Hat
No mitigation is known.
Source: Red Hat security advisory for CVE-2020-8559 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat OpenShift Container Platform 3.11atomic-openshift-0:3.11.346-1.git.0.ea10721.el7RHSA-2020:5363
Red Hat OpenShift Container Platform 4.4openshift-0:4.4.0-202012052258.p0.git.0.0fd57a4.el7RHSA-2021:0030
Red Hat OpenShift Container Platform 4.4openshift4/ose-hyperkube:v4.4.0-202101261542.p0RHSA-2021:0281
Red Hat OpenShift Container Platform 4.5openshift4/ose-hyperkube:v4.5.0-202011211036.p0RHSA-2020:5194
Red Hat OpenShift Container Platform 4.6openshift-0:4.6.0-202010022112.p0.git.94033.ef41184.el7RHBA-2020:4197
Red Hat OpenShift Container Platform 4.6openshift4/ose-hyperkube:v4.6.0-202010081843.p0RHSA-2020:4298

Frequently Asked Questions

The Kubernetes kube-apiserver in versions v1.6-v1.15, and versions prior to v1.16.13, v1.17.9 and v1.18.6 are vulnerable to an unvalidated redirect on proxied upgrade requests that could allow an attacker to escalate privileges from a node compromise to a full cluster compromise.
O3 Security · Impact-Aware SCA

Is CVE-2020-8559 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2020-8559: apimachinery — Fixed in 0.16.13