CVE-2016-1906: Authorization bypass in Openshift
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84401%
CWE
Published
12/20/2021
Updated
2/3/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/openshift/origin | go | < 1.1.1 | 1.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing update operation handling in the build strategy admission controller. The GitHub fix (openshift/origin#6576) shows the admission handler was modified to include 'admission.Update' in its operations. The original code only checked 'admission.Create', allowing unauthorized strategy changes via updates. The test cases in 'test/integration/build_admission_test.go' confirm this by adding update validation checks. Both the handler registration (NewBuildByStrategy) and admission logic (Admit) were deficient in handling updates, making them the root cause.