CVE-2016-1906: Github.com/openshift/origin Authorization Bypass Vulnerability

CRITICAL
Advisory Identifier: GHSA-m3fm-h5jp-q79p
CVSS 9.8
CWE-285
Published
Advisory Summary

CVE-2016-1906 is a CRITICAL (CVSS 9.8) authorization bypass vulnerability (CWE-285: Improper Authorization) affecting Github.com/openshift/origin libraries in the Go ecosystem. The issue involves authorization bypass in openshift. Remediation is available by upgrading affected packages to version 1.1.1.

CVE-2016-1906 at a Glance

CVE Identifier CVE-2016-1906
GHSA Identifier GHSA-m3fm-h5jp-q79p
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-285: Improper Authorization
Affected Product Github.com/openshift/origin
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

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

How to Fix CVE-2016-1906

To remediate this vulnerability, upgrade all affected Github.com/openshift/origin 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/openshift/origin fixed: 1.1.1
Upgrade github.com/openshift/origin to 1.1.1
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/openshift/origin

How to Check if You Are Affected

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

inspect dependencies for github.com/openshift/origin

Analyze the terminal output to locate any version of Github.com/openshift/origin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Github.com/openshift/origin, 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

Openshift allows remote attackers to gain privileges by updating a build configuration that was created with an allowed type to a type that is not allowed.

CVE-2016-1906 Affected Github.com/openshift/origin Versions

1 component(s)
Fixed Versions:
1.1.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/openshift/origin
Go
< 1.1.1
1.1.1

References

Frequently Asked Questions

What is CVE-2016-1906?
CVE-2016-1906 is a security vulnerability in Github.com/openshift/origin involving Authorization bypass in Openshift under CWE-285: Improper Authorization.
Which Github.com/openshift/origin versions are affected?
Affected versions include releases prior to 1.1.1 across affected packages: github.com/openshift/origin.
What version fixes CVE-2016-1906?
Upgrading to 1.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/openshift/origin affected?
Yes, github.com/openshift/origin is affected in releases prior to 1.1.1. Upgrade your dependency to 1.1.1 or later.
What is the CVSS score of CVE-2016-1906?
CVE-2016-1906 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2016-1906?
CVE-2016-1906 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for CVE-2016-1906?
Run the dependency tree command: 'inspect dependencies for github.com/openshift/origin'. 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-m3fm-h5jp-q79p",
  "modified" : "2023-02-03T20:37:11Z",
  "published" : "2021-12-20T16:58:14Z",
  "aliases" : [ "CVE-2016-1906" ],
  "summary" : "Authorization bypass in Openshift",
  "details" : "Openshift allows remote attackers to gain privileges by updating a build configuration that was created with an allowed type to a type that is not allowed.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openshift/origin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-1906"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openshift/origin/issues/6556"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openshift/origin/pull/6576"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openshift/origin/commit/d95ec085f03ecf10e8c424a4f0340ddb38891406"
  }, {
    "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-1906"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1297916"
  }, {
    "type" : "WEB",
    "url" : "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-1906"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-19T22:01:34Z",
    "nvd_published_at" : "2016-02-03T18:59:00Z"
  }
}