{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49794 exists.","fix":"No fix has been published for CVE-2023-49794 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-49794 is a medium-severity vulnerability in tiann KernelSU, published on 2 Jan 2024. 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-49794 and fix it if it is affected.\n\nWhat it is: CVE-2023-49794 is a medium-severity vulnerability in tiann KernelSU, published on 2 Jan 2024. 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-49794 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-49794/ (Markdown: https://insights.sbomify.com/CVE-2023-49794/index.md)","id":"CVE-2023-49794","markdown":"https://insights.sbomify.com/CVE-2023-49794/index.md","name":"CVE-2023-49794","record":{"aliases":["GHSA-8rc5-x54x-5qc4"],"analysis":{"component_type":"operating_system","fix_type":"no_fix_stated","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Android root solution","requires_auth":"low_privilege","summary":"A malicious APK with a specific package name can bypass path checks to gain root privileges on devices using KernelSU.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kernelsu","vendor":"kernelsu"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"KernelSU is a Kernel-based root solution for Android devices. In versions 0.7.1 and prior, the logic of get apk path in KernelSU kernel module can be bypassed, which causes any malicious apk named `me.weishu.kernelsu` get root permission. If a KernelSU module installed device try to install any not checked apk which package name equal to the official KernelSU Manager, it can take over root privileges on the device. As of time of publication, a patched version is not available.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"The logic of get apk path in KernelSU module can be bypassed","id":"CVE-2023-49794","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"MindsDB Server-Side Request Forgery vulnerability","id":"CVE-2023-49795"},"packages":[],"prev":{"headline":"Path traversal in `CodeChecker server` in the endpoint of `CodeChecker store`","id":"CVE-2023-49793"},"products":["KernelSU"],"published":"2024-01-02","related":[{"cvss_score":7.3,"headline":"Incorrect Authorization in tiann/kernelsu","id":"CVE-2023-5521","kev_date_added":null,"published":"2023-10-11"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-09","vendors":["tiann"]},"summary":"A malicious APK with a specific package name can bypass path checks to gain root privileges on devices using KernelSU.","url":"https://insights.sbomify.com/CVE-2023-49794/"}