{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5521 exists.","fix":"No fix has been published for CVE-2023-5521 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-5521 is a high-severity missing authorization vulnerability in tiann/kernelsu, published on 11 Oct 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-5521 and fix it if it is affected.\n\nWhat it is: CVE-2023-5521 is a high-severity missing authorization vulnerability in tiann/kernelsu, published on 11 Oct 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5521 exists.\n\nAffected product: tiann/kernelsu. 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-2023-5521/ (Markdown: https://insights.sbomify.com/CVE-2023-5521/index.md)","id":"CVE-2023-5521","markdown":"https://insights.sbomify.com/CVE-2023-5521/index.md","name":"CVE-2023-5521","record":{"aliases":["GHSA-pcx2-r23v-3j7c"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"KernelSU root solution","requires_auth":"low_privilege","summary":"An attacker can bypass authorization checks in KernelSU to gain unauthorized privileges on Android devices.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"kernelsu","vendor":"kernelsu"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Incorrect Authorization in GitHub repository tiann/kernelsu prior to v0.6.9.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-10-11","github_poc":1,"max_poc_stars":19,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-10-11T12:08:31Z","kind":"github_poc","ref":"https://github.com/Ylarod/CVE-2023-5521","stars":19,"title":"Root takeover via signature spoofing in KernelSU"}],"tier":"weaponised"},"has_fix":false,"headline":"Incorrect Authorization in tiann/kernelsu","id":"CVE-2023-5521","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Mobile app freezes when receiving a post with hundreds of emojis","id":"CVE-2023-5522"},"packages":[],"prev":{"headline":"Out-of-bounds Read in gpac/gpac","id":"CVE-2023-5520"},"products":["tiann/kernelsu"],"published":"2023-10-11","related":[{"cvss_score":6.7,"headline":"The logic of get apk path in KernelSU module can be bypassed","id":"CVE-2023-49794","kev_date_added":null,"published":"2024-01-02"},{"cvss_score":5,"headline":"KernelSU signature validation mismatch","id":"CVE-2023-46139","kev_date_added":null,"published":"2023-10-30"}],"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-18","vendors":["tiann"]},"summary":"An attacker can bypass authorization checks in KernelSU to gain unauthorized privileges on Android devices.","url":"https://insights.sbomify.com/CVE-2023-5521/"}