{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2021-27065 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"No fix has been published for CVE-2021-27065 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2021-27065 is a high-severity path traversal vulnerability in Microsoft Exchange Server, published on 2 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-27065 and fix it if it is affected.\n\nWhat it is: CVE-2021-27065 is a high-severity path traversal vulnerability in Microsoft Exchange Server, published on 2 Mar 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2021-27065 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected product: Microsoft Exchange Server. 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-27065/ (Markdown: https://insights.sbomify.com/CVE-2021-27065/index.md)","id":"CVE-2021-27065","markdown":"https://insights.sbomify.com/CVE-2021-27065/index.md","name":"CVE-2021-27065","record":{"aliases":["GHSA-rwm8-8c4x-v87q"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Microsoft Exchange Server","requires_auth":"none","summary":"Attackers can exploit a path traversal flaw in Microsoft Exchange Server to execute arbitrary code remotely.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"exchange_server","vendor":"microsoft"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Microsoft Exchange Server Remote Code Execution Vulnerability","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-03-02","github_poc":1,"max_poc_stars":11,"metasploit":1,"nuclei":0,"refs":[{"date":"2021-03-06T04:47:35Z","kind":"github_poc","ref":"https://github.com/adamrpostjr/cve-2021-27065","stars":11,"title":"Quick One Line Powershell scripts to detect for webshells, possible zips, and logs."},{"date":"2021-03-02","kind":"metasploit","ref":"exploit/windows/http/exchange_proxylogon_rce","stars":null,"title":"Microsoft Exchange ProxyLogon RCE"},{"date":"2021-03-11","kind":"exploitdb","ref":"49637","stars":null,"title":"Microsoft Exchange 2019 - Server-Side Request Forgery (Proxylogon) (PoC)"}],"tier":"exploited"},"has_fix":null,"headline":"Microsoft Exchange Server Remote Code Execution","id":"CVE-2021-27065","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Known","product":"Exchange Server","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft Exchange Server Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:exchange_server","products":["microsoft:exchange_server"],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Windows Admin Center Security Feature Bypass Vulnerability","id":"CVE-2021-27066"},"packages":[],"prev":{"headline":"Visual Studio Installer Elevation of Privilege Vulnerability","id":"CVE-2021-27064"},"products":["Microsoft Exchange Server 2013 Cumulative Update 21","Microsoft Exchange Server 2013 Cumulative Update 22","Microsoft Exchange Server 2013 Cumulative Update 23","Microsoft Exchange Server 2013 Service Pack 1","Microsoft Exchange Server 2016 Cumulative Update 10","Microsoft Exchange Server 2016 Cumulative Update 11","Microsoft Exchange Server 2016 Cumulative Update 12","Microsoft Exchange Server 2016 Cumulative Update 13","Microsoft Exchange Server 2016 Cumulative Update 14","Microsoft Exchange Server 2016 Cumulative Update 15","Microsoft Exchange Server 2016 Cumulative Update 16","Microsoft Exchange Server 2016 Cumulative Update 17","Microsoft Exchange Server 2016 Cumulative Update 18","Microsoft Exchange Server 2016 Cumulative Update 19","Microsoft Exchange Server 2016 Cumulative Update 8","Microsoft Exchange Server 2016 Cumulative Update 9","Microsoft Exchange Server 2019","Microsoft Exchange Server 2019 Cumulative Update 1","Microsoft Exchange Server 2019 Cumulative Update 2","Microsoft Exchange Server 2019 Cumulative Update 3","Microsoft Exchange Server 2019 Cumulative Update 4","Microsoft Exchange Server 2019 Cumulative Update 5","Microsoft Exchange Server 2019 Cumulative Update 6","Microsoft Exchange Server 2019 Cumulative Update 7","Microsoft Exchange Server 2019 Cumulative Update 8"],"published":"2021-03-02","related":[{"cvss_score":9.8,"headline":"Microsoft Exchange Server Privilege Escalation","id":"CVE-2024-21410","kev_date_added":"2024-02-15","published":"2024-02-13"},{"cvss_score":9.1,"headline":"Microsoft Exchange Server Remote Code Execution","id":"CVE-2021-34473","kev_date_added":"2021-11-03","published":"2021-07-14"},{"cvss_score":9.1,"headline":"Microsoft Exchange Server Remote Code Execution","id":"CVE-2021-26855","kev_date_added":"2021-11-03","published":"2021-03-02"},{"cvss_score":9,"headline":"Microsoft Exchange Server Privilege Escalation","id":"CVE-2021-34523","kev_date_added":"2021-11-03","published":"2021-07-14"},{"cvss_score":8.8,"headline":"Microsoft Exchange Server Deserialization of Untrusted Data","id":"CVE-2023-21529","kev_date_added":"2026-04-13","published":"2023-02-14"},{"cvss_score":8.8,"headline":"Microsoft Exchange Server Privilege Escalation","id":"CVE-2022-41080","kev_date_added":"2023-01-10","published":"2022-11-09"},{"cvss_score":8.8,"headline":"Microsoft Exchange Server Server-Side Request Forgery","id":"CVE-2022-41040","kev_date_added":"2022-09-30","published":"2022-10-03"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["Microsoft"]},"summary":"Attackers can exploit a path traversal flaw in Microsoft Exchange Server to execute arbitrary code remotely.","url":"https://insights.sbomify.com/CVE-2021-27065/"}