CVE-2016-1905: Github.com/kubernetes/kubernetes Access Restriction Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-xx8c-m748-xr4j
CVSS 7.7
CWE-284
Published
Advisory Summary

CVE-2016-1905 is a HIGH (CVSS 7.7) access restriction bypass vulnerability (CWE-284: Improper Access Control) affecting Github.com/kubernetes/kubernetes libraries in the Go ecosystem. The issue involves access restriction bypass in kubernetes. Remediation is available by upgrading affected packages to version 1.2.0-alpha.6.

CVE-2016-1905 at a Glance

CVE Identifier CVE-2016-1905
GHSA Identifier GHSA-xx8c-m748-xr4j
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-284: Improper Access Control
Affected Product Github.com/kubernetes/kubernetes
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2016-1905

To remediate this vulnerability, upgrade all affected Github.com/kubernetes/kubernetes dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/kubernetes/kubernetes fixed: 1.2.0-alpha.6
Upgrade github.com/kubernetes/kubernetes to 1.2.0-alpha.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/kubernetes/kubernetes

How to Check if You Are Affected

To determine whether your application is affected by CVE-2016-1905, inspect your project dependencies for Github.com/kubernetes/kubernetes:

inspect dependencies for github.com/kubernetes/kubernetes

Analyze the terminal output to locate any version of Github.com/kubernetes/kubernetes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.0-alpha.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/kubernetes/kubernetes, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The API server in Kubernetes does not properly check admission control, which allows remote authenticated users to access additional resources via a crafted patched object. ### Specific Go Packages Affected github.com/kubernetes/kubernetes/pkg/apiserver

CVE-2016-1905 Affected Github.com/kubernetes/kubernetes Versions

1 component(s)
Fixed Versions:
1.2.0-alpha.6
Product / Package Ecosystem Affected Versions Fixed Version
github.com/kubernetes/kubernetes
Go
< 1.2.0-alpha.6
1.2.0-alpha.6

References

Frequently Asked Questions

What is CVE-2016-1905?
CVE-2016-1905 is a security vulnerability in Github.com/kubernetes/kubernetes involving Access Restriction Bypass in kubernetes under CWE-284: Improper Access Control.
Which Github.com/kubernetes/kubernetes versions are affected?
Affected versions include releases prior to 1.2.0-alpha.6 across affected packages: github.com/kubernetes/kubernetes.
What version fixes CVE-2016-1905?
Upgrading to 1.2.0-alpha.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kubernetes/kubernetes affected?
Yes, github.com/kubernetes/kubernetes is affected in releases prior to 1.2.0-alpha.6. Upgrade your dependency to 1.2.0-alpha.6 or later.
What is the CVSS score of CVE-2016-1905?
CVE-2016-1905 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N.
What CWE is associated with CVE-2016-1905?
CVE-2016-1905 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for CVE-2016-1905?
Run the dependency tree command: 'inspect dependencies for github.com/kubernetes/kubernetes'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xx8c-m748-xr4j",
  "modified" : "2023-10-02T11:33:50Z",
  "published" : "2022-02-15T01:57:18Z",
  "aliases" : [ "CVE-2016-1905" ],
  "summary" : "Access Restriction Bypass in kubernetes",
  "details" : "The API server in Kubernetes does not properly check admission control, which allows remote authenticated users to access additional resources via a crafted patched object.\n\n### Specific Go Packages Affected\ngithub.com/kubernetes/kubernetes/pkg/apiserver",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubernetes/kubernetes"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.0-alpha.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.2.0-alpha.5"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-1905"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/issues/19479"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/commit/9e6912384a5bc714f2a780b870944a8cee264a22"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:0070"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2016:0351"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2016-1905"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1297910"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-07T20:51:03Z",
    "nvd_published_at" : "2016-02-03T18:59:00Z"
  }
}