CVE-2016-1905: Access Restriction Bypass in Kubernetes

Summary

15/02/2022
Yes i
High
7.7

CVE-2016-1905: Access Restriction Bypass in kubernetes. Affects github.com/kubernetes/kubernetes versions < 1.2.0-alpha.6. Fixed in 1.2.0-alpha.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The package under scrutiny is github.com/kubernetes/kubernetes/pkg/apiserver, which is written in Go. Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. The apiserver package is responsible for handling API requests and enforcing access control policies. It provides a set of admission control mechanisms to validate and mutate API objects before they are persisted. However, a vulnerability in the API server allows remote authenticated users to bypass access restrictions and access additional resources by exploiting a flaw in the admission control process.

Vulnerability Detail

The vulnerability (CVE-2016-1905) arises from the API server's failure to properly check admission control. This allows remote authenticated users to craft a patched object that can bypass the admission control mechanisms. By submitting this object, an attacker can gain unauthorized access to additional resources within the Kubernetes cluster. The impact of this vulnerability can be severe, as it enables an attacker to escalate privileges and potentially compromise the entire cluster. The vulnerability has a CVSSv3 score of 7.7, indicating a high severity level.

How To Fix

Minimum fixed version

1.2.0-alpha.6

This is the first release that contains the fix.

go get github.com/kubernetes/kubernetes@v1.2.0-alpha.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that only trusted and authenticated users have access to the Kubernetes API server. Additionally, implementing network segmentation and strong access control policies can help limit the impact of a potential breach.

Conclusion

The vulnerability (CVE-2016-1905) in the apiserver package of Kubernetes allows remote authenticated users to bypass access restrictions and gain unauthorized access to additional resources within the cluster. To mitigate this risk, it is crucial to upgrade to a fixed version of Kubernetes and implement strong access control measures. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/kubernetes/kubernetes →

Share this vulnerability

FAQ

Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications.

The apiserver package in Kubernetes is responsible for handling API requests and enforcing access control policies.

The vulnerability in the apiserver package allows remote authenticated users to bypass access restrictions by exploiting a flaw in the admission control process. This enables them to access additional resources within the Kubernetes cluster.

The impact of this vulnerability can be severe, as it allows an attacker to escalate privileges and potentially compromise the entire Kubernetes cluster.

To fix this vulnerability, it is recommended to upgrade to a fixed version of Kubernetes (1.2.0-alpha.6 or later). Upgrading to the latest stable release is also advisable.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/kubernetes/kubernetes.

How To Fix

Minimum fixed version

1.2.0-alpha.6

This is the first release that contains the fix.

go get github.com/kubernetes/kubernetes@v1.2.0-alpha.6

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback