{"answers":{"affected":"It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2019-0604 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"No fix has been published for CVE-2019-0604 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2019-0604 is a critical code injection vulnerability in Microsoft Sharepoint Enterprise Server, published on 6 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-0604 and fix it if it is affected.\n\nWhat it is: CVE-2019-0604 is a critical code injection vulnerability in Microsoft Sharepoint Enterprise Server, published on 6 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2019-0604 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected product: Microsoft Sharepoint Enterprise 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-2019-0604/ (Markdown: https://insights.sbomify.com/CVE-2019-0604/index.md)","id":"CVE-2019-0604","markdown":"https://insights.sbomify.com/CVE-2019-0604/index.md","name":"CVE-2019-0604","record":{"aliases":["GHSA-6mr5-xh3f-7vqm"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft SharePoint","requires_auth":"none","summary":"Attackers can execute arbitrary code remotely by exploiting improper source markup validation in Microsoft SharePoint application packages.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"sharepoint_enterprise_server","vendor":"microsoft"},{"product":"sharepoint_foundation","vendor":"microsoft"},{"product":"sharepoint_server","vendor":"microsoft"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A remote code execution vulnerability exists in Microsoft SharePoint when the software fails to check the source markup of an application package, aka 'Microsoft SharePoint Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2019-0594.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2019-03-23","github_poc":7,"max_poc_stars":129,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-03-23T05:01:54Z","kind":"github_poc","ref":"https://github.com/linhlhq/CVE-2019-0604","stars":129,"title":"CVE-2019-0604"},{"date":"2019-06-26T15:00:29Z","kind":"github_poc","ref":"https://github.com/k8gege/CVE-2019-0604","stars":99,"title":"cve-2019-0604 SharePoint RCE exploit"},{"date":"2019-12-10T02:39:57Z","kind":"github_poc","ref":"https://github.com/boxhg/CVE-2019-0604","stars":30,"title":"详解 k8gege的SharePoint RCE exploit cve-2019-0604-exp.py的代码，动手制作自己的payload"},{"date":"2021-04-22T12:11:22Z","kind":"github_poc","ref":"https://github.com/Gh0st0ne/weaponized-0604","stars":8,"title":"Automated tool to exploit sharepoint CVE-2019-0604"},{"date":"2019-09-15T20:06:54Z","kind":"github_poc","ref":"https://github.com/m5050/CVE-2019-0604","stars":3,"title":"CVE-2019-0604: SharePoint RCE detection rules and sample PCAP"},{"date":"2019-04-04T03:17:30Z","kind":"github_poc","ref":"https://github.com/likekabin/CVE-2019-0604_sharepoint_CVE","stars":1,"title":null},{"date":"2020-01-21","kind":"exploitdb","ref":"48053","stars":null,"title":"Microsoft SharePoint - Deserialization Remote Code Execution"},{"date":"2023-09-05T13:47:17Z","kind":"github_poc","ref":"https://github.com/davidlebr1/cve-2019-0604-SP2010-netv3.5","stars":0,"title":"Generate Seralize Payload for CVE-2019-0604 for Sharepoint 2010 SP2 .net 3.5"}],"tier":"exploited"},"has_fix":null,"headline":"Microsoft SharePoint Remote Code Execution","id":"CVE-2019-0604","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Known","product":"SharePoint","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Microsoft","vulnerabilityName":"Microsoft SharePoint Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"microsoft:sharepoint_enterprise_server","products":["microsoft:sharepoint_enterprise_server","microsoft:sharepoint_foundation","microsoft:sharepoint_server"],"type":"code_injection","year":"2019"},"n_packages":0,"n_references":2,"next":{"headline":"Memory corruption in ChakraCore","id":"CVE-2019-0605"},"packages":[],"prev":{"headline":"Memory corruption in Windows","id":"CVE-2019-0603"},"products":["Microsoft SharePoint Enterprise Server","Microsoft SharePoint Foundation","Microsoft SharePoint Server"],"published":"2019-03-06","related":[{"cvss_score":7.2,"headline":"Microsoft SharePoint Server Code Injection","id":"CVE-2023-24955","kev_date_added":"2024-03-26","published":"2023-05-09"},{"cvss_score":6.5,"headline":"Microsoft SharePoint Improper Authentication","id":"CVE-2025-49706","kev_date_added":"2025-07-22","published":"2025-07-08"},{"cvss_score":9.9,"headline":"Microsoft SharePoint Remote Code Execution Vulnerability","id":"CVE-2020-1210","kev_date_added":null,"published":"2020-09-11"},{"cvss_score":9.9,"headline":"Microsoft SharePoint Remote Code Execution Vulnerability","id":"CVE-2020-1595","kev_date_added":null,"published":"2020-09-11"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2025-47163","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2025-47166","kev_date_added":null,"published":"2025-06-10"}],"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":"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":"2025-10-21","vendors":["Microsoft"]},"summary":"Attackers can execute arbitrary code remotely by exploiting improper source markup validation in Microsoft SharePoint application packages.","url":"https://insights.sbomify.com/CVE-2019-0604/"}