{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-45599 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-45599 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-45599 is a low-severity vulnerability in getcursor cursor, published on 24 Sep 2024. 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-2024-45599 and fix it if it is affected.\n\nWhat it is: CVE-2024-45599 is a low-severity vulnerability in getcursor cursor, published on 24 Sep 2024. 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-2024-45599 in the wild and no public exploit code.\n\nAffected product: getcursor cursor. 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-2024-45599/ (Markdown: https://insights.sbomify.com/CVE-2024-45599/index.md)","id":"CVE-2024-45599","markdown":"https://insights.sbomify.com/CVE-2024-45599/index.md","name":"CVE-2024-45599","record":{"aliases":[],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["security_bypass","data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"AI code editor","requires_auth":"low_privilege","summary":"Attackers can bypass macOS TCC restrictions to access camera and microphone via DyLib injection in Cursor, requiring prior user permission grants.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-277","name":"Insecure Inherited Permissions"}],"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. \nMoreover, 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.","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":"TCC Bypass in Cursor's macOS Application","id":"CVE-2024-45599","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Fields GLPI plugin has an Authenticated SQL Injection","id":"CVE-2024-45600"},"packages":[],"prev":{"headline":"Cacti has a Local File Inclusion (LFI) Vulnerability via Poller Standard Error Log Path","id":"CVE-2024-45598"},"products":["cursor"],"published":"2024-09-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"partial"},"state":"PUBLISHED","updated":"2024-09-24","vendors":["getcursor"]},"summary":"Attackers can bypass macOS TCC restrictions to access camera and microphone via DyLib injection in Cursor, requiring prior user permission grants.","url":"https://insights.sbomify.com/CVE-2024-45599/"}