{"api_version":"1","generated_at":"2026-04-23T11:34:57+00:00","cve":"CVE-2021-31939","urls":{"html":"https://cve.report/CVE-2021-31939","api":"https://cve.report/api/cve/CVE-2021-31939.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31939","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31939"},"summary":{"title":"CVE-2021-31939","description":"Microsoft Excel Remote Code Execution Vulnerability","state":"PUBLIC","assigner":"secure@microsoft.com","published_at":"2021-06-08 23:15:00","updated_at":"2023-08-01 23:15:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-670/","name":"https://www.zerodayinitiative.com/advisories/ZDI-21-670/","refsource":"MISC","tags":[],"title":"ZDI-21-670 | Zero Day Initiative","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31939","name":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31939","refsource":"MISC","tags":[],"title":"Security Update Guide - Microsoft Security Response Center","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31939","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31939","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"365_apps","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"enterprise","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"excel","cpe6":"2013","cpe7":"sp1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"excel","cpe6":"2013","cpe7":"sp1","cpe8":"*","cpe9":"*","cpe10":"rt","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"excel","cpe6":"2016","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"office","cpe6":"2013","cpe7":"sp1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"office","cpe6":"2013","cpe7":"sp1","cpe8":"*","cpe9":"*","cpe10":"rt","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"office","cpe6":"2016","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"office","cpe6":"2019","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"office_online_server","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"microsoft","cpe5":"office_web_apps_server","cpe6":"2013","cpe7":"sp1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-31939","qid":"110384","title":"Microsoft Office and Microsoft Office Services and Web Apps Security Update June 2021"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-31939","ASSIGNER":"secure@microsoft.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Microsoft Excel Remote Code Execution Vulnerability"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Remote Code Execution"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Microsoft","product":{"product_data":[{"product_name":"Office Online Server","version":{"version_data":[{"version_affected":"<","version_name":"https://aka.ms/OfficeSecurityReleases","version_value":"16.0.10375.20000"}]}},{"product_name":"Microsoft Office 2019","version":{"version_data":[{"version_affected":"<","version_name":"19.0.0","version_value":"https://aka.ms/OfficeSecurityReleases"}]}},{"product_name":"Microsoft 365 Apps for Enterprise","version":{"version_data":[{"version_affected":"<","version_name":"16.0.1","version_value":"https://aka.ms/OfficeSecurityReleases"}]}},{"product_name":"Microsoft Excel 2016","version":{"version_data":[{"version_affected":"<","version_name":"16.0.0.0","version_value":"16.0.5173.1000"}]}},{"product_name":"Microsoft Office 2016","version":{"version_data":[{"version_affected":"<","version_name":"16.0.0","version_value":"16.0.5173.1000"}]}},{"product_name":"Microsoft Excel 2013 Service Pack 1","version":{"version_data":[{"version_affected":"<","version_name":"15.0.0.0","version_value":"15.0.5353.1000"}]}},{"product_name":"Microsoft Office 2013 Service Pack 1","version":{"version_data":[{"version_affected":"<","version_name":"15.0.0","version_value":"15.0.5353.1000"}]}},{"product_name":"Microsoft Office Web Apps Server 2013 Service Pack 1","version":{"version_data":[{"version_affected":"<","version_name":"15.0.1","version_value":"15.0.5353.1000"}]}}]}}]}},"references":{"reference_data":[{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31939","refsource":"MISC","name":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31939"},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-670/","refsource":"MISC","name":"https://www.zerodayinitiative.com/advisories/ZDI-21-670/"}]},"impact":{"cvss":[{"version":"3.1","baseSeverity":"HIGH","baseScore":7.8,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C"}]}},"nvd":{"publishedDate":"2021-06-08 23:15:00","lastModifiedDate":"2023-08-01 23:15:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:excel:2013:sp1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:office:2013:sp1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:office_web_apps_server:2013:sp1:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:office:2013:sp1:*:*:rt:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:excel:2013:sp1:*:*:rt:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:office_online_server:-:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:office:2016:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"31939","Ordinal":"207267","Title":"CVE-2021-31939","CVE":"CVE-2021-31939","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"31939","Ordinal":"1","NoteData":"Microsoft Excel Remote Code Execution Vulnerability","Type":"Description","Title":null},{"CveYear":"2021","CveId":"31939","Ordinal":"2","NoteData":"2021-06-08","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"31939","Ordinal":"3","NoteData":"2021-06-10","Type":"Other","Title":"Modified"}]}}}