{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-31950 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-31950 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-31950 is a high-severity server-side request forgery vulnerability in Microsoft Sharepoint Foundation, published on 8 Jun 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-31950 and fix it if it is affected.\n\nWhat it is: CVE-2021-31950 is a high-severity server-side request forgery vulnerability in Microsoft Sharepoint Foundation, published on 8 Jun 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-31950 in the wild and no public exploit code.\n\nAffected product: Microsoft Sharepoint Foundation. 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-31950/ (Markdown: https://insights.sbomify.com/CVE-2021-31950/index.md)","id":"CVE-2021-31950","markdown":"https://insights.sbomify.com/CVE-2021-31950/index.md","name":"CVE-2021-31950","record":{"aliases":["GHSA-xqq4-7jq4-8rv5"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"SharePoint Server","requires_auth":"low_privilege","summary":"An attacker can exploit a Server-Side Request Forgery flaw in Microsoft SharePoint to access internal resources or bypass security controls.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"sharepoint_foundation","vendor":"microsoft"},{"product":"sharepoint_server","vendor":"microsoft"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Microsoft SharePoint Server Spoofing Vulnerability","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-06-11","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-06-11","kind":"exploitdb","ref":"49982","stars":null,"title":"Microsoft SharePoint Server 16.0.10372.20060 - 'GetXmlDataFromDataSource' Server-Side Request Forgery (SSRF)"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Microsoft SharePoint Server Spoofing Vulnerability","id":"CVE-2021-31950","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:sharepoint_foundation","products":["microsoft:sharepoint_foundation","microsoft:sharepoint_server"],"type":"ssrf","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Windows Kernel Elevation of Privilege Vulnerability","id":"CVE-2021-31951"},"packages":[],"prev":{"headline":"Microsoft Outlook Remote Code Execution Vulnerability","id":"CVE-2021-31949"},"products":["Microsoft SharePoint Enterprise Server 2016","Microsoft SharePoint Foundation 2013 Service Pack 1","Microsoft SharePoint Server 2019"],"published":"2021-06-08","related":[{"cvss_score":9.3,"headline":"Privilege escalation in n/a","id":"CVE-2014-2816","kev_date_added":null,"published":"2014-08-12"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2023-21742","kev_date_added":null,"published":"2023-01-10"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2023-21744","kev_date_added":null,"published":"2023-01-10"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2022-44690","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2022-41036","kev_date_added":null,"published":"2022-10-11"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2022-41037","kev_date_added":null,"published":"2022-10-11"},{"cvss_score":8.8,"headline":"Microsoft SharePoint Server Remote Code Execution Vulnerability","id":"CVE-2022-41038","kev_date_added":null,"published":"2022-10-11"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Microsoft"]},"summary":"An attacker can exploit a Server-Side Request Forgery flaw in Microsoft SharePoint to access internal resources or bypass security controls.","url":"https://insights.sbomify.com/CVE-2021-31950/"}