{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42004 exists.","fix":"No fix has been published for CVE-2024-42004 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-42004 is a high-severity vulnerability in Microsoft Teams (work or school), published on 18 Dec 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-42004 and fix it if it is affected.\n\nWhat it is: CVE-2024-42004 is a high-severity vulnerability in Microsoft Teams (work or school), published on 18 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42004 exists.\n\nAffected product: Microsoft Teams (work or school). 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-42004/ (Markdown: https://insights.sbomify.com/CVE-2024-42004/index.md)","id":"CVE-2024-42004","markdown":"https://insights.sbomify.com/CVE-2024-42004/index.md","name":"CVE-2024-42004","record":{"aliases":["GHSA-45pj-qv6g-f89w"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Microsoft Teams","requires_auth":"low_privilege","summary":"Attackers can inject malicious libraries into Microsoft Teams on macOS to bypass permissions and execute code with elevated privileges.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"teams","vendor":"microsoft"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. A specially crafted library can leverage Teams's access privileges, leading to a permission bypass. A malicious application could inject a library and start the program to trigger this vulnerability and then make use of the vulnerable application's permissions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Privilege escalation in Teams (work or school)","id":"CVE-2024-42004","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Django SQL injection vulnerability","id":"CVE-2024-42005"},"packages":[],"prev":{"headline":"Unsafe use of eval() method in ros2 topic hz tool","id":"CVE-2024-42002"},"products":["Teams (work or school)"],"published":"2024-12-18","related":[{"cvss_score":10,"headline":"Microsoft Teams Elevation of Privilege Vulnerability","id":"CVE-2026-65667","kev_date_added":null,"published":"2026-08-06"},{"cvss_score":9.6,"headline":"Microsoft Teams Elevation of Privilege Vulnerability","id":"CVE-2026-62896","kev_date_added":null,"published":"2026-08-06"},{"cvss_score":9.6,"headline":"Microsoft Team Events Portal Information Disclosure Vulnerability","id":"CVE-2026-33823","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.8,"headline":"Microsoft Teams for Android Spoofing Vulnerability","id":"CVE-2026-65767","kev_date_added":null,"published":"2026-08-11"},{"cvss_score":8.8,"headline":"Microsoft Teams Remote Code Execution Vulnerability","id":"CVE-2026-65768","kev_date_added":null,"published":"2026-08-11"},{"cvss_score":8.8,"headline":"Microsoft Teams Remote Code Execution Vulnerability","id":"CVE-2023-29328","kev_date_added":null,"published":"2023-08-08"},{"cvss_score":8.8,"headline":"Microsoft Teams Remote Code Execution Vulnerability","id":"CVE-2023-29330","kev_date_added":null,"published":"2023-08-08"}],"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-19","vendors":["Microsoft"]},"summary":"Attackers can inject malicious libraries into Microsoft Teams on macOS to bypass permissions and execute code with elevated privileges.","url":"https://insights.sbomify.com/CVE-2024-42004/"}