CVE-2021-41266: Github.com/minio/console Authentication Bypass Vulnerability
HIGHCVE-2021-41266 is a HIGH (CVSS 8.6) authentication bypass vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Github.com/minio/console libraries in the Go ecosystem. The issue involves authentication bypass issue in the operator console. Remediation is available by upgrading affected packages to version 0.12.3.
CVE-2021-41266 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L).
How to Fix CVE-2021-41266
To remediate this vulnerability, upgrade all affected Github.com/minio/console dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/minio/console to 0.12.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/minio/console
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-41266, inspect your project dependencies for Github.com/minio/console:
inspect dependencies for github.com/minio/console
Analyze the terminal output to locate any version of Github.com/minio/console in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.3), 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-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Github.com/minio/console, 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
CVE-2021-41266 Affected Github.com/minio/console Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/minio/console
|
Go |
< 0.12.3
|
0.12.3
|
References
Frequently Asked Questions
What is CVE-2021-41266?
Which Github.com/minio/console versions are affected?
What version fixes CVE-2021-41266?
Is github.com/minio/console affected?
What is the CVSS score of CVE-2021-41266?
What CWE is associated with CVE-2021-41266?
How can I check Go dependencies for CVE-2021-41266?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4999-659w-mq36",
"modified" : "2021-11-15T20:27:39Z",
"published" : "2021-11-15T23:16:49Z",
"aliases" : [ "CVE-2021-41266" ],
"summary" : "Authentication bypass issue in the Operator Console",
"details" : "During an internal security audit, we detected an authentication bypass issue in the Operator Console when an external IDP is enabled. The security issue has been reported internally. We have not observed this exploit in the wild or reported elsewhere in the community at large. All users are advised to upgrade ASAP.\n\n### Impact\n\nAll users on release v0.12.2 and before are affected.\n\n### Patches\n\nThis issue was fixed by PR https://github.com/minio/console/pull/1217, users should upgrade to latest release.\n\n### Workarounds\n\nAdd `automountServiceAccountToken: false` to the operator-console deployment in Kubernetes so no service account token will get mounted inside the pod, then disable the external identity provider authentication by unset the `CONSOLE_IDP_URL`, `CONSOLE_IDP_CLIENT_ID`, `CONSOLE_IDP_SECRET` and `CONSOLE_IDP_CALLBACK` environment variable and instead use the Kubernetes service account token.\n\n### References\n\n#1217 for more information on the fix and how it was fixed.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [console issues](https://github.com/minio/console/issues)\n* Email us at [security@minio.io](mailto:security@minio.io)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/minio/console"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/minio/console/security/advisories/GHSA-4999-659w-mq36"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-41266"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/console/pull/1217"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/minio/console"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-306" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-11-15T20:27:39Z",
"nvd_published_at" : "2021-11-15T21:15:00Z"
}
}