{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-0460 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-0460 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-0460 is a medium-severity code injection vulnerability in Google YouTube Android Player API SDK, published on 1 Mar 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-0460 and fix it if it is affected.\n\nWhat it is: CVE-2023-0460 is a medium-severity code injection vulnerability in Google YouTube Android Player API SDK, published on 1 Mar 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: There is no known exploitation of CVE-2023-0460 in the wild and no public exploit code.\n\nAffected product: Google YouTube Android Player API SDK. 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-0460/ (Markdown: https://insights.sbomify.com/CVE-2023-0460/index.md)","id":"CVE-2023-0460","markdown":"https://insights.sbomify.com/CVE-2023-0460/index.md","name":"CVE-2023-0460","record":{"aliases":["GHSA-gwwh-wv9x-j72w"],"analysis":{"component_type":"mobile_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"YouTube Android Player API","requires_auth":"low_privilege","summary":"A malicious app can masquerade as YouTube to inject arbitrary code into apps using the YouTube Embedded Player SDK via insecure service binding.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"youtube_android_player_api","vendor":"google"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"description":"The YouTube Embedded 1.2 SDK binds to a service within the YouTube Main App. After binding, a remote context is created with the flags Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY. This allows the client app to remotely load code from YouTube Main App by retrieving the Main App’s ClassLoader. A potential vulnerability in the binding logic used by the client SDK where the SDK ends up calling bindService() on a malicious app rather than YT Main App. This creates a vulnerability where the SDK can load the malicious app’s ClassLoader instead, allowing the malicious app to load arbitrary code into the calling app whenever the embedded SDK is invoked.\n\nIn order to trigger this vulnerability, an attacker must masquerade the Youtube app and install it on a device, have a second app that uses the Embedded player and typically distribute both to the victim outside of the Play Store.","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":"Remote code execution in YouTube Android Player API SDK","id":"CVE-2023-0460","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Use-after-free vulnerability in the Linux Kernel","id":"CVE-2023-0461"},"packages":[],"prev":{"headline":"Copy_from_user Spectre-V1 Gadget in Linux Kernel","id":"CVE-2023-0459"},"products":["YouTube Android Player API SDK"],"published":"2023-03-01","related":[],"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-07","vendors":["Google"]},"summary":"A malicious app can masquerade as YouTube to inject arbitrary code into apps using the YouTube Embedded Player SDK via insecure service binding.","url":"https://insights.sbomify.com/CVE-2023-0460/"}