CVE-2021-42277: Microsoft Windows Diagnostics Hub Link Following Privilege Escalation Vulnerability

Published Nov 9, 2021
·
Updated

Diagnostics Hub Standard Collector Elevation of Privilege Vulnerability

Other sources

This vulnerability allows local attackers to escalate privileges on affected installations of Microsoft Windows. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the Microsoft Diagnostics Hub Standard Collector Service. By creating a symbolic link, an attacker can abuse the service to delete a directory. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of SYSTEM.

ZDI

Affected Software

52 affected componentsFixes available
Microsoft Windows 10=20H2
Microsoft Visual Studio=2015-update3
Microsoft Visual Studio 2017>=15.0<=15.9
Microsoft Visual Studio 2019>=16.0<=16.11
Microsoft Windows 10
Microsoft Windows 10=20h2
Microsoft Windows 10=21h1
Microsoft Windows 10=1607
Microsoft Windows 10=1809
Microsoft Windows 10=1909
Microsoft Windows 10=2004
Microsoft Windows 11
Microsoft Windows 11
Microsoft Windows Server 2016
Microsoft Windows Server 2016=20h2
Microsoft Windows Server 2016=2004
Microsoft Windows Server 2019
Microsoft Windows Server 2022
Microsoft Windows
Microsoft Visual Studio 2019 (includes 16.0 - 16.8)=16.9
16.9.13
Microsoft Visual Studio 2019 (includes 16.0 – 16.6)=16.7
16.7.21
Microsoft Windows Server 2016<10.0.14393.4770
10.0.14393.4770
Microsoft Windows 10<10.0.10240.19119
10.0.10240.19119
Microsoft Windows Server 2016<10.0.14393.4770
10.0.14393.4770
Microsoft Visual Studio 2015=3
27550.00
Microsoft Windows 10=1607
10.0.14393.4770
Microsoft Windows 10=1607
10.0.14393.4770
Microsoft Visual Studio 2017 (includes 15.0 - 15.8)=15.9
15.9.41
Microsoft Visual Studio 2019 (includes 16.0 - 16.10)=16.11
16.11.6
Microsoft Windows 11=21H2
10.0.22000.318
Microsoft Windows 10<10.0.10240.19119
10.0.10240.19119
Microsoft Windows Server=20H2
10.0.19041.1348
Microsoft Windows 11=21H2
10.0.22000.318
Microsoft Windows Server 2022<10.0.20348.350
10.0.20348.350
Microsoft Windows 10=2004
10.0.19041.1348
Microsoft Windows 10=2004
10.0.19041.1348
Microsoft Windows 10=20H2
10.0.19042.1348
Microsoft Windows 10=20H2
10.0.19042.1348
Microsoft Windows Server=2004
10.0.19041.1348
Microsoft Windows Server 2022<10.0.20348.350
10.0.20348.350
Microsoft Windows 10=2004
10.0.19041.1348
Microsoft Windows 10=21H1
10.0.19043.1348
Microsoft Windows 10=1909
10.0.18363.1916
Microsoft Windows 10=21H1
10.0.19043.1348
Microsoft Windows 10=21H1
10.0.19043.1348
Microsoft Windows 10=1909
10.0.18363.1916
Microsoft Windows Server 2019<10.0.17763.2300
10.0.17763.2300
Microsoft Windows 10=1809
10.0.17763.2300
Microsoft Windows 10=1809
10.0.17763.2300
Microsoft Windows Server 2019<10.0.17763.2300
10.0.17763.2300
Microsoft Windows 10=1809
10.0.17763.2300
Microsoft Windows 10=1909
10.0.18363.1916

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.9.13
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.7.21
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.14393.4770Patch KB5007192
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.10240.19119Patch KB5007207
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 27550.00Patch KB5007275
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.9.41
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.11.6
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.22000.318Patch KB5007215
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.19041.1348Patch KB5007186
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.20348.350Patch KB5007205
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.19042.1348Patch KB5007186
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.19043.1348Patch KB5007186
  13. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.18363.1916Patch KB5007189
  14. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.17763.2300Patch KB5007206

Event History

Nov 9, 2021
CVE Published
via Microsoft·08:00 AM
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Description
Nov 10, 2021
CVE Published
via MITRE·12:47 AM
Data Sourced
via MITRE·12:47 AM
DescriptionSeverity
Data Sourced
via NVD·01:19 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 11, 2021
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-42277?

CVE-2021-42277 has a CVSS score indicating a high severity level due to the potential for local privilege escalation.

2

What systems are affected by CVE-2021-42277?

CVE-2021-42277 affects various versions of Microsoft Windows and Visual Studio, including Windows 10, Windows Server 2019 and 2022, and Visual Studio 2019.

3

How do I fix CVE-2021-42277?

To address CVE-2021-42277, users should apply the latest security updates released by Microsoft for the affected products.

4

What type of vulnerability is CVE-2021-42277?

CVE-2021-42277 is classified as an elevation of privilege vulnerability that allows local attackers to gain higher access rights.

5

Is CVE-2021-42277 being actively exploited?

There is no public indication that CVE-2021-42277 is being actively exploited, but it is recommended to patch systems to mitigate any potential risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203