{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2021-27059 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2021-27059 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.","what":"CVE-2021-27059 is a high-severity code injection vulnerability in Microsoft Office, published on 11 Mar 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-27059 and fix it if it is affected.\n\nWhat it is: CVE-2021-27059 is a high-severity code injection vulnerability in Microsoft Office, published on 11 Mar 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2021-27059 in the wild since at least 3 Nov 2021.\n\nAffected product: Microsoft Office. 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-2021-27059/ (Markdown: https://insights.sbomify.com/CVE-2021-27059/index.md)","id":"CVE-2021-27059","markdown":"https://insights.sbomify.com/CVE-2021-27059/index.md","name":"CVE-2021-27059","record":{"aliases":["GHSA-4qxg-56mj-c47p"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft Office","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary code on systems running Microsoft Office, requiring users to open malicious files.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"office","vendor":"microsoft"},{"product":"office_2016","vendor":"microsoft"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[],"description":"Microsoft Office Remote Code Execution Vulnerability","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"exploited"},"has_fix":null,"headline":"Microsoft Office Remote Code Execution","id":"CVE-2021-27059","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2021-11-17","knownRansomwareCampaignUse":"Unknown","product":"Office","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Office Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:office","products":["microsoft:office","microsoft:office_2016"],"type":"code_injection","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Visual Studio Code Remote Code Execution Vulnerability","id":"CVE-2021-27060"},"packages":[],"prev":{"headline":"Microsoft Office ClickToRun Remote Code Execution Vulnerability","id":"CVE-2021-27058"},"products":["Microsoft Office 2010 Service Pack 2","Microsoft Office 2013 Service Pack 1","Microsoft Office 2016"],"published":"2021-03-11","related":[{"cvss_score":8.8,"headline":"Microsoft Office Memory Corruption","id":"CVE-2018-0798","kev_date_added":"2021-11-03","published":"2018-01-10"},{"cvss_score":8.8,"headline":"Microsoft Office Uninitialized Memory Use","id":"CVE-2015-1770","kev_date_added":"2022-03-28","published":"2015-06-10"},{"cvss_score":8.8,"headline":"Microsoft Word Malformed Object Pointer","id":"CVE-2006-2492","kev_date_added":"2022-06-08","published":"2006-05-20"},{"cvss_score":7.8,"headline":"Microsoft Office Memory Corruption","id":"CVE-2018-0802","kev_date_added":"2021-11-03","published":"2018-01-10"},{"cvss_score":7.8,"headline":"Microsoft Office Memory Corruption","id":"CVE-2017-11882","kev_date_added":"2021-11-03","published":"2017-11-15"},{"cvss_score":7.8,"headline":"Microsoft Office Remote Code Execution","id":"CVE-2017-8570","kev_date_added":"2022-02-25","published":"2017-07-11"},{"cvss_score":7.8,"headline":"Microsoft Office Use-After-Free","id":"CVE-2017-0261","kev_date_added":"2022-03-03","published":"2017-05-12"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["Microsoft"]},"summary":"Attackers can execute arbitrary code on systems running Microsoft Office, requiring users to open malicious files.","url":"https://insights.sbomify.com/CVE-2021-27059/"}