{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43858 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-43858 is a high-severity vulnerability in minio, published on 27 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-43858 and fix it if it is affected.\n\nWhat it is: CVE-2021-43858 is a high-severity vulnerability in minio, published on 27 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-43858 in the wild and no public exploit code.\n\nAffected product: minio. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-43858/ (Markdown: https://insights.sbomify.com/CVE-2021-43858/index.md)","id":"CVE-2021-43858","markdown":"https://insights.sbomify.com/CVE-2021-43858/index.md","name":"CVE-2021-43858","record":{"aliases":["GHSA-j6jc-jqqc-p6cx","MINI-2mgh-r4pj-945h","MINI-g8g3-mpv9-6rfw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"MinIO object storage","requires_auth":"low_privilege","summary":"A malicious client can escalate privileges by crafting an HTTP API call to update user policies in MinIO object storage.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"minio","vendor":"minio"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"MinIO is a Kubernetes native application for cloud storage. Prior to version `RELEASE.2021-12-27T07-23-18Z`, a malicious client can hand-craft an HTTP API call that allows for updating policy for a user and gaining higher privileges. The patch in version `RELEASE.2021-12-27T07-23-18Z` changes the accepted request body type and removes the ability to apply policy changes through this API. There is a workaround for this vulnerability: Changing passwords can be disabled by adding an explicit `Deny` rule to disable the API for users.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-01-03","github_poc":2,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-01-03T17:11:54Z","kind":"github_poc","ref":"https://github.com/0rx1/cve-2021-43858","stars":3,"title":null},{"date":"2023-04-12T07:34:03Z","kind":"github_poc","ref":"https://github.com/khuntor/CVE-2021-43858-MinIO","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"User privilege escalation in MinIO","id":"CVE-2021-43858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2021"},"n_packages":0,"n_references":5,"next":{"headline":"Denial of Service by injecting highly recursive collections or maps in XStream","id":"CVE-2021-43859"},"packages":[],"prev":{"headline":"Gerapy may contain remote code execution vulnerability","id":"CVE-2021-43857"},"products":["minio"],"published":"2021-12-27","related":[{"cvss_score":8.8,"headline":"MinIO Security Feature Bypass","id":"CVE-2023-28434","kev_date_added":"2023-09-19","published":"2023-03-22"},{"cvss_score":7.5,"headline":"MinIO Information Disclosure","id":"CVE-2023-28432","kev_date_added":"2023-04-21","published":"2023-03-22"},{"cvss_score":9.3,"headline":"Authentication bypass MinIO Admin API","id":"CVE-2020-11012","kev_date_added":null,"published":"2020-04-23"},{"cvss_score":9.2,"headline":"MinIO: JWT Algorithm Confusion in OIDC Authentication","id":"CVE-2026-33322","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":9.1,"headline":"MinIO: LDAP login brute-force via user enumeration and missing rate limit","id":"CVE-2026-33419","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":8.8,"headline":"MinIO has an Unauthenticated Object Write via Missing Signature Verification in Unsigned-Trailer Uploads","id":"CVE-2026-40344","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":8.8,"headline":"MinIO has an Unauthenticated Object Write via Query-String Credential Signature Bypass in Unsigned-Trailer Uploads","id":"CVE-2026-41145","kev_date_added":null,"published":"2026-04-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["minio"]},"summary":"A malicious client can escalate privileges by crafting an HTTP API call to update user policies in MinIO object storage.","url":"https://insights.sbomify.com/CVE-2021-43858/"}