{"answers":{"affected":"It affects 7 products.","exploited":"There is no known exploitation of CVE-2023-45866 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-45866 is a medium-severity authentication bypass vulnerability in Apple Ipados, published on 8 Dec 2023. 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-2023-45866 and fix it if it is affected.\n\nWhat it is: CVE-2023-45866 is a medium-severity authentication bypass vulnerability in Apple Ipados, published on 8 Dec 2023. 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-2023-45866 in the wild and no public exploit code.\n\nAffected product: Apple Ipados. 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-45866/ (Markdown: https://insights.sbomify.com/CVE-2023-45866/index.md)","id":"CVE-2023-45866","markdown":"https://insights.sbomify.com/CVE-2023-45866/index.md","name":"CVE-2023-45866","record":{"aliases":["A-294854926","ALSA-2024:11154","ASB-A-294854926","AZL-32161","AZL-34571","BELL-CVE-2023-45866","DEBIAN-CVE-2023-45866","DLA-3689-1","DSA-5584-1","GHSA-qjcj-xg77-6c32","MGASA-2023-0353","OESA-2023-1948","RHSA-2024:11154","SUSE-SU-2025:03269-1","SUSE-SU-2025:03277-1","SUSE-SU-2025:03590-1","SUSE-SU-2025:20804-1","SUSE-SU-2026:20041-1","UBUNTU-CVE-2023-45866","USN-6540-1","openSUSE-SU-2024:13507-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"BlueZ Bluetooth stack","requires_auth":"none","summary":"Unauthenticated Bluetooth devices can inject HID messages without user authorization, potentially leading to code execution on Linux systems using BlueZ.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ipados","vendor":"apple"},{"product":"iphone_os","vendor":"apple"},{"product":"macos","vendor":"apple"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"android","vendor":"google"}],"cvss":{"score":6.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role HID Device to initiate and establish an encrypted connection, and accept HID keyboard reports, potentially permitting injection of HID messages when no user interaction has occurred in the Central role to authorize such access. An example affected package is bluez 5.64-0ubuntu1 in Ubuntu 22.04LTS. NOTE: in some cases, a CVE-2020-0556 mitigation would have already addressed this Bluetooth HID Hosts issue.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2024-01-16","github_poc":12,"max_poc_stars":1901,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-01-16T06:52:02Z","kind":"github_poc","ref":"https://github.com/pentestfunctions/BlueDucky","stars":1901,"title":"🚨 CVE-2023-45866 - BlueDucky Implementation (Using DuckyScript) 🔓 Unauthenticated Peering Leading to Code Execution (Using HID Keyboard)"},{"date":"2024-01-16T07:44:35Z","kind":"github_poc","ref":"https://github.com/Eason-zz/BluetoothDucky","stars":16,"title":"CVE-2023-45866 - BluetoothDucky implementation (Using DuckyScript)"},{"date":"2024-12-15T03:00:47Z","kind":"github_poc","ref":"https://github.com/Danyw24/blueXploit","stars":16,"title":"Exploit basado en vulnerabilidades criticas Bluetooth (CVE-2023-45866, CVE-2024-21306)"},{"date":"2024-09-02T10:13:27Z","kind":"github_poc","ref":"https://github.com/AvishekDhakal/CVE-2023-45866_EXPLOITS","stars":3,"title":"Exploits Tested in Mi A2 Lite and Realme 2 pro"},{"date":"2025-08-26T14:26:16Z","kind":"github_poc","ref":"https://github.com/Sergeb250/BlueDucky","stars":2,"title":"BlueDucky exploits a Bluetooth vulnerability, specifically CVE-2023-45866, which allows an attacker to inject keystrokes into a target device. The attacker's device impersonates a Bluetooth keyboard to establish an encrypted connection without user authorization. The BlueDucky tool automates this process"},{"date":"2024-12-20T17:28:48Z","kind":"github_poc","ref":"https://github.com/xG3nesis/RustyInjector","stars":1,"title":"Rust implementation of Marc Newlin's keystroke injection proof of concept (CVE-2023-45866)."},{"date":"2026-05-31T17:29:29Z","kind":"github_poc","ref":"https://github.com/hegaz0y/-BuL","stars":1,"title":"EDSEC_BKIF is a keystroke injection tool for Android, Linux, and iOS. With the help of CVE-2023-45866, it grants users unprecedented control over targeted systems, enabling various functions from keystroke injection to advanced system manipulations."},{"date":"2024-01-23T21:39:41Z","kind":"github_poc","ref":"https://github.com/jjjjjjjj987/cve-2023-45866-py","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Auth bypass in n/a","id":"CVE-2023-45866","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:ipados","products":["apple:ipados","apple:iphone_os","apple:macos","canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","google:android"],"type":"auth_bypass","year":"2023"},"n_packages":37,"n_references":13,"next":{"headline":"Path traversal in n/a","id":"CVE-2023-45867"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["5.63-3.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/almalinux/bluez","source":"ALSA-2024:11154"},{"ecosystem":"AlmaLinux:8","fixed":["5.63-3.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"bluez-cups","purl":"pkg:rpm/almalinux/bluez-cups","source":"ALSA-2024:11154"},{"ecosystem":"AlmaLinux:8","fixed":["5.63-3.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci","purl":"pkg:rpm/almalinux/bluez-hid2hci","source":"ALSA-2024:11154"},{"ecosystem":"AlmaLinux:8","fixed":["5.63-3.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"bluez-libs","purl":"pkg:rpm/almalinux/bluez-libs","source":"ALSA-2024:11154"},{"ecosystem":"AlmaLinux:8","fixed":["5.63-3.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-devel","purl":"pkg:rpm/almalinux/bluez-libs-devel","source":"ALSA-2024:11154"},{"ecosystem":"AlmaLinux:8","fixed":["5.63-3.el8_10.alma.1"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd","purl":"pkg:rpm/almalinux/bluez-obexd","source":"ALSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-cups","purl":"pkg:rpm/redhat/bluez-cups","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-cups-debuginfo","purl":"pkg:rpm/redhat/bluez-cups-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-debuginfo","purl":"pkg:rpm/redhat/bluez-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-debugsource","purl":"pkg:rpm/redhat/bluez-debugsource","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci-debuginfo","purl":"pkg:rpm/redhat/bluez-hid2hci-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-debuginfo","purl":"pkg:rpm/redhat/bluez-libs-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd-debuginfo","purl":"pkg:rpm/redhat/bluez-obexd-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/redhat/bluez","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-cups-debuginfo","purl":"pkg:rpm/redhat/bluez-cups-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-debuginfo","purl":"pkg:rpm/redhat/bluez-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-debugsource","purl":"pkg:rpm/redhat/bluez-debugsource","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci","purl":"pkg:rpm/redhat/bluez-hid2hci","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci-debuginfo","purl":"pkg:rpm/redhat/bluez-hid2hci-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-libs","purl":"pkg:rpm/redhat/bluez-libs","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-debuginfo","purl":"pkg:rpm/redhat/bluez-libs-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd","purl":"pkg:rpm/redhat/bluez-obexd","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd-debuginfo","purl":"pkg:rpm/redhat/bluez-obexd-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-cups-debuginfo","purl":"pkg:rpm/redhat/bluez-cups-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-debuginfo","purl":"pkg:rpm/redhat/bluez-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-debugsource","purl":"pkg:rpm/redhat/bluez-debugsource","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-hid2hci-debuginfo","purl":"pkg:rpm/redhat/bluez-hid2hci-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-debuginfo","purl":"pkg:rpm/redhat/bluez-libs-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-libs-devel","purl":"pkg:rpm/redhat/bluez-libs-devel","source":"RHSA-2024:11154"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:5.63-3.el8_10"],"introduced":["0"],"last_affected":[],"package":"bluez-obexd-debuginfo","purl":"pkg:rpm/redhat/bluez-obexd-debuginfo","source":"RHSA-2024:11154"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["5.62-150400.4.22.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2025:03277-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["5.62-150400.4.22.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2025:03277-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["5.65-150500.3.14.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2025:03269-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["5.13-5.45.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:03590-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["5.70-2.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:20041-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["5.70-slfo.1.1_2.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/suse/bluez\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2025:20804-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.70-2.1"],"introduced":["0"],"last_affected":[],"package":"bluez","purl":"pkg:rpm/opensuse/bluez\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13507-1"}],"prev":{"headline":"Race condition in n/a","id":"CVE-2023-45864"},"products":["n/a"],"published":"2023-12-08","related":[{"cvss_score":10,"headline":"Apple iOS, iPadOS, and macOS Out-of-Bounds Write","id":"CVE-2025-43300","kev_date_added":"2025-08-21","published":"2025-08-21"},{"cvss_score":10,"headline":"Apple Multiple Products WebKit Out-of-Bounds Write","id":"CVE-2025-24201","kev_date_added":"2025-03-13","published":"2025-03-11"},{"cvss_score":10,"headline":"Apple Multiple Products Use-After-Free","id":"CVE-2025-24085","kev_date_added":"2025-01-29","published":"2025-01-27"},{"cvss_score":9.8,"headline":"Apple Multiple Products Memory Corruption","id":"CVE-2025-31200","kev_date_added":"2025-04-17","published":"2025-04-16"},{"cvss_score":9.8,"headline":"Apple Multiple Products Arbitrary Read and Write","id":"CVE-2025-31201","kev_date_added":"2025-04-17","published":"2025-04-16"},{"cvss_score":9.8,"headline":"Apple Memory Corruption","id":"CVE-2022-22587","kev_date_added":"2022-01-28","published":"2022-03-18"},{"cvss_score":9.8,"headline":"Apple iOS, iPadOS, and macOS WebKit Remote Code Execution","id":"CVE-2021-1870","kev_date_added":"2021-11-03","published":"2021-04-02"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"Unauthenticated Bluetooth devices can inject HID messages without user authorization, potentially leading to code execution on Linux systems using BlueZ.","url":"https://insights.sbomify.com/CVE-2023-45866/"}