{"answers":{"affected":"3 open source packages ship an affected version, including github.com/minio/console. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-41266 exists.","fix":"Upgrade github.com/minio/console to 0.12.3 or later.","what":"CVE-2021-41266 is a high-severity authentication bypass vulnerability in minio console, published on 15 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-41266 and fix it if it is affected.\n\nWhat it is: CVE-2021-41266 is a high-severity authentication bypass vulnerability in minio console, published on 15 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-41266 exists.\n\nAffected packages and fixed versions:\n- github.com/minio/console (Go): affected all versions; fixed in 0.12.3\n- github.com/minio/console (Go): affected all versions; fixed in 0.12.3\n- github.com/minio/console (Go): affected all versions; fixed in 0.12.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-41266/ (Markdown: https://insights.sbomify.com/CVE-2021-41266/index.md)","id":"CVE-2021-41266","markdown":"https://insights.sbomify.com/CVE-2021-41266/index.md","name":"CVE-2021-41266","record":{"aliases":["GHSA-4999-659w-mq36","GO-2022-0261"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"MinIO Operator Console","requires_auth":"none","summary":"Attackers can bypass authentication in the MinIO Operator Console when an external IDP is enabled, gaining unauthorized access.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"minio_console","vendor":"min"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"Minio console is a graphical user interface for the for MinIO operator. Minio itself is a multi-cloud object storage project. Affected versions are subject to an authentication bypass issue in the Operator Console when an external IDP is enabled. All users on release v0.12.2 and before are affected and are advised to update to 0.12.3 or newer. Users unable to upgrade should add 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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-41266.yaml","stars":null,"title":"MinIO Operator Console Authentication Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Authentication bypass issue in the Operator Console","id":"CVE-2021-41266","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2021"},"n_packages":3,"n_references":2,"next":{"headline":"Webcache Poisoning in Symfony","id":"CVE-2021-41267"},"packages":[{"ecosystem":"Go","fixed":["0.12.3"],"introduced":["0"],"last_affected":[],"package":"github.com/minio/console","purl":null,"source":"GHSA-4999-659w-mq36"},{"ecosystem":"Go","fixed":["0.12.3"],"introduced":["0"],"last_affected":[],"package":"github.com/minio/console","purl":"pkg:golang/github.com/minio/console","source":"GHSA-4999-659w-mq36"},{"ecosystem":"Go","fixed":["0.12.3"],"introduced":["0"],"last_affected":[],"package":"github.com/minio/console","purl":"pkg:golang/github.com/minio/console","source":"GO-2022-0261"}],"prev":{"headline":"Improper Authentication in Flask-AppBuilder","id":"CVE-2021-41265"},"products":["console"],"published":"2021-11-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["minio"]},"summary":"Attackers can bypass authentication in the MinIO Operator Console when an external IDP is enabled, gaining unauthorized access.","url":"https://insights.sbomify.com/CVE-2021-41266/"}