PatchaPalooza

CVE-2021-31177: Microsoft Office Remote Code Execution Vulnerability

CVE-2021-31177 is a remote code execution vulnerability in Microsoft Office, rated Important by Microsoft, with a CVSS 3.1 base score of 7.8 (High). An attacker can exploit it by an attacker with local access, without any privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 3.06% probability of exploitation activity in the next 30 days, higher than 88% of all scored vulnerabilities. Microsoft released the fix on 11 May 2021 in the May 2021 Patch Tuesday, delivered through 4 security updates (KB5001914, KB5001918, KB5001936, KB5001928). It affects 12 products in 1 product family (Microsoft Office).

Key facts

CVE ID
CVE-2021-31177
Severity
High CVSS 7.8
Microsoft severity
Important
Impact
Remote Code Execution
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
Less Likely
Weakness
CWE-416
EPSS
3.06% (percentile 88%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
May 2021 Patch Tuesday
Product families
Microsoft Office

CVSS score and vector

Microsoft scores CVE-2021-31177 at 7.8 (temporal 6.8) using CVSS 3.1. Vector: 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

MetricValue
Attack vectorLocal
Attack complexityLow
Privileges requiredNone
User interactionRequired
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

Frequently asked questions (Microsoft)

Is the Preview Pane an attack vector for this vulnerability?

No, the Preview Pane is not an attack vector.

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do?

Exploitation of the vulnerability requires that a user open a specially crafted file with an affected version of Microsoft Excel.

  • In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file.
  • In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) containing a specially crafted file designed to exploit the vulnerability.

An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.

Affected products (12)

Microsoft Office

ProductSecurity updateTypeFixed buildRestart
Microsoft Office 2019 for 32-bit editionsClick to RunSecurity Updatehttps://aka.ms/OfficeSecurityReleasesNo
Microsoft Office 2019 for 64-bit editionsClick to RunSecurity Updatehttps://aka.ms/OfficeSecurityReleasesNo
Microsoft Office 2019 for MacRelease NotesSecurity UpdateNo
Microsoft Office Online ServerKB5001914Security Update16.0.10374.20000Maybe
Microsoft 365 Apps for Enterprise for 32-bit SystemsClick to RunSecurity Updatehttps://aka.ms/OfficeSecurityReleasesNo
Microsoft 365 Apps for Enterprise for 64-bit SystemsClick to RunSecurity Updatehttps://aka.ms/OfficeSecurityReleasesNo
Microsoft Excel 2016 (32-bit edition)KB5001918Security Update16.0.5161.1000Maybe
Microsoft Excel 2016 (64-bit edition)KB5001918Security Update16.0.5161.1000Maybe
Microsoft Excel 2013 RT Service Pack 1KB5001936Security Update15.0.5345.1000Maybe
Microsoft Excel 2013 Service Pack 1 (32-bit editions)KB5001936Security Update15.0.5345.1000Maybe
Microsoft Excel 2013 Service Pack 1 (64-bit editions)KB5001936Security Update15.0.5345.1000Maybe
Microsoft Office Web Apps Server 2013 Service Pack 1KB5001928Security Update15.0.5345.1000Maybe

Security updates (4)

NIST NVD data

NVD status
Modified
NVD CVSS
7.8 (HIGH)
NVD weakness
CWE-416
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
365 appsall listed versions
excel 2013all listed versions
excel 2013all listed versions
excel 2016all listed versions
office 2013all listed versions
office 2013all listed versions
office 2016all listed versions
office 2019all listed versions
office online serverall listed versions
office web apps server 2013all listed versions
word 2013all listed versions
word 2013all listed versions
word 2016all listed versions

References

Acknowledgments

Revision history

VersionDateDescription
1.0Information published.

Sources