{"answers":{"affected":"3 open source packages ship an affected version, including mosn.io/mosn. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-32163 exists.","fix":"Upgrade mosn.io/mosn to 0.23.0 or later.","what":"CVE-2021-32163 is a critical authentication bypass vulnerability in n/a, published on 17 Feb 2023. 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-32163 and fix it if it is affected.\n\nWhat it is: CVE-2021-32163 is a critical authentication bypass vulnerability in n/a, published on 17 Feb 2023. 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-32163 exists.\n\nAffected packages and fixed versions:\n- mosn.io/mosn (Go): affected all versions; fixed in 0.23.0\n- mosn.io/mosn (Go): affected all versions; fixed in 0.23.0\n- mosn.io/mosn (Go): affected all versions; fixed in 0.23.0\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-32163/ (Markdown: https://insights.sbomify.com/CVE-2021-32163/index.md)","id":"CVE-2021-32163","markdown":"https://insights.sbomify.com/CVE-2021-32163/index.md","name":"CVE-2021-32163","record":{"aliases":["GHSA-5vx9-j5cw-47vq","GO-2023-1582"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"MOSN service mesh","requires_auth":"none","summary":"Attackers can escalate privileges in MOSN by exploiting case-sensitive JWT authorization checks, requiring an upgrade to secure the service mesh.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"modular_open_smart_network","vendor":"linuxfoundation"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Authentication vulnerability in MOSN v.0.23.0 allows attacker to escalate privileges via case-sensitive JWT authorization.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Privilege escalation in MOSN","id":"CVE-2021-32163","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":"Missing authorization in n/a","id":"CVE-2021-32172"},"packages":[{"ecosystem":"Go","fixed":["0.23.0"],"introduced":["0"],"last_affected":[],"package":"mosn.io/mosn","purl":null,"source":"GHSA-5vx9-j5cw-47vq"},{"ecosystem":"Go","fixed":["0.23.0"],"introduced":["0"],"last_affected":[],"package":"mosn.io/mosn","purl":"pkg:golang/mosn.io/mosn","source":"GHSA-5vx9-j5cw-47vq"},{"ecosystem":"Go","fixed":["0.23.0"],"introduced":["0"],"last_affected":[],"package":"mosn.io/mosn","purl":"pkg:golang/mosn.io/mosn","source":"GO-2023-1582"}],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2021-32162"},"products":["n/a"],"published":"2023-02-17","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)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-18","vendors":["n/a"]},"summary":"Attackers can escalate privileges in MOSN by exploiting case-sensitive JWT authorization checks, requiring an upgrade to secure the service mesh.","url":"https://insights.sbomify.com/CVE-2021-32163/"}