CVE-2024-45599
Last modified
CVE-2024-45599 is a low-severity vulnerability rated 3.8/10 on the CVSS scale. Cursor is an artificial intelligence code editor. Prior to version 0.41.0, if a user on macOS has granted Cursor access to the camera or microphone, any program that is run on the machine is able to access the camera or the microphone without explicitly being granted access, through a DyLib Injection using DYLD_INSERT_LIBRARIES environment variable. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
Cursor is an artificial intelligence code editor. Prior to version 0.41.0, if a user on macOS has granted Cursor access to the camera or microphone, any program that is run on the machine is able to access the camera or the microphone without explicitly being granted access, through a DyLib Injection using DYLD_INSERT_LIBRARIES environment variable. The usage of `com.apple.security.cs.allow-dyld-environment-variables` and `com.apple.security.cs.disable-library-validation` allows an external dynamic library to be injected into the application using DYLD_INSERT_LIBRARIES environment variable. Moreover, the entitlement `com.apple.security.device.camera` allows the application to use the host camera and `com.apple.security.device.audio-input` allows the application to use the microphone. This means that untrusted code that is executed on the user's machine can access the camera or the microphone, if the user has already given permission for Cursor to do so. In version 0.41.0, the entitlements have been split by process: the main process gets the camera and microphone entitlements, but not the DyLib entitlements, whereas the extension host process gets the DyLib entitlements but not the camera or microphone entitlements. As a workaround, do not explicitly give Cursor the permission to access the camera or microphone if untrusted users can run arbitrary commands on the affected machine.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-45599?
How severe is CVE-2024-45599?
How do I fix CVE-2024-45599?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-45593Nix is a package manager for Linux and other Unix systems. A…8.8
- CVE-2024-45594Decidim is a participatory democracy framework. The meeting …5.4
- CVE-2024-45595D-Tale is a visualizer for Pandas data structures. Users hos…9.8
- CVE-2024-45596Directus is a real-time API and App dashboard for managing S…6.5
- CVE-2024-45597Pluto is a superset of Lua 5.4 with a focus on general-purpo…5.3
- CVE-2024-45598Cacti is an open source performance and fault management fra…4.9
- CVE-2024-4560The Kognetiks Chatbot for WordPress plugin for WordPress is …9.8
- CVE-2024-45600Fields is a GLPI plugin that allows users to add custom fiel…7.7
- CVE-2024-45601Mesop is a Python-based UI framework designed for rapid web …7.5
- CVE-2024-45604Contao is an Open Source CMS. In affected versions authentic…4.3
- CVE-2024-45605Sentry is a developer-first error tracking and performance m…4.3
- CVE-2024-45606Sentry is a developer-first error tracking and performance m…4.3
Are you affected by CVE-2024-45599?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
