{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-1010221 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2019-1010221 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-1010221 is a medium-severity vulnerability in LineageOS, published on 23 Jul 2019. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-1010221 and fix it if it is affected.\n\nWhat it is: CVE-2019-1010221 is a medium-severity vulnerability in LineageOS, published on 23 Jul 2019. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-1010221 in the wild and no public exploit code.\n\nAffected product: LineageOS. 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-2019-1010221/ (Markdown: https://insights.sbomify.com/CVE-2019-1010221/index.md)","id":"CVE-2019-1010221","markdown":"https://insights.sbomify.com/CVE-2019-1010221/index.md","name":"CVE-2019-1010221","record":{"aliases":["GHSA-qj8f-q4w4-3qfp"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Android custom ROM","requires_auth":"none","summary":"An attacker with physical access and enabled ADB can escalate privileges to root by setting a specific system property, affecting LineageOS users.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dwf","cpe":[{"product":"lineageos","vendor":"lineageos"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[],"description":"LineageOS 16.0 and earlier is affected by: Incorrect Access Control. The impact is: The property checked by `adb root` can also be set in a normal adb shell session. The component is: adb shell (patches to fix this are at https://review.lineageos.org/c/LineageOS/android_system_core/+/234800, https://review.lineageos.org/c/LineageOS/android_device_lineage_sepolicy/+/234799). The attack vector is: When adb is enabled, and an attacker has physical access, `adb shell setprop service.adb.root 1` allows restarting adb as root.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Privilege escalation in LineageOS","id":"CVE-2019-1010221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2019"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in DCMTK","id":"CVE-2019-1010228"},"packages":[],"prev":{"headline":"Information disclosure in tcpdump","id":"CVE-2019-1010220"},"products":["LineageOS"],"published":"2019-07-23","related":[{"cvss_score":6.2,"headline":"Null dereference in n/a","id":"CVE-2017-6899","kev_date_added":null,"published":"2017-06-16"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["LineageOS"]},"summary":"An attacker with physical access and enabled ADB can escalate privileges to root by setting a specific system property, affecting LineageOS users.","url":"https://insights.sbomify.com/CVE-2019-1010221/"}