CVEfocus › CVE database › CVE-2018-1002102

CVE-2018-1002102Kubernetes API server follows unvalidated redirects from streaming Kubelet endpoints

CVSS 2.6 LowEPSS 0.7% (higher than 52% of CVEs)Published 2019-12-05Updated 2024-09-17Assigner: kubernetes

Improper validation of URL redirection in the Kubernetes API server in versions prior to v1.14.0 allows an attacker-controlled Kubelet to redirect API server requests from streaming endpoints to arbitrary hosts. Impacted API servers will follow the redirect as a GET request with client-certificate credentials for authenticating to the Kubelet.

CWE-601

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04kubernetesNot affected
vulnerable_code_not_present
Ubuntu 22.04kubernetesNot affected
vulnerable_code_not_present
Ubuntu 20.04kubernetesFix pending
Debian 14kubernetesFixed1.17.4-1DEBIAN-CVE-2018-1002102
Debian 13kubernetesFixed1.17.4-1DEBIAN-CVE-2018-1002102
Debian 12kubernetesFixed1.17.4-1DEBIAN-CVE-2018-1002102

What the vendor says

As published in the CVE record by kubernetes, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: For Kubernetes versions >= v1.10.0, the ValidateProxyRedirects feature can be manually enabled with the kube-apiserver flag --feature-gates=ValidateProxyRedirects=true

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.