CVE-2021-31166
Exploited in the wild. In CISA KEV since 2022‑04‑06. Fixed versions are out.
What to do
Find your product and version, then upgrade to the build on the right.
- Microsoft Windows 10 Version 2004Affected: ≥ 10.0.0, < 10.0.19041.982Upgrade to: 10.0.19041.982Affected: ≥ 10.0.0, < 10.0.19042.982Upgrade to: 10.0.19042.982Stated by: CVE record
- Microsoft Windows Server version 2004Affected: ≥ 10.0.0, < 10.0.19041.982Upgrade to: 10.0.19041.982Affected: ≥ 10.0.0, < 10.0.19042.982Upgrade to: 10.0.19042.982Stated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether your affected device is Windows 10 or Windows Server and whether it is updated to at least 10.0.19041.982 or 10.0.19042.982.
- Update Windows to reach the fixed version: 10.0.19041.982 (or later) or 10.0.19042.982 (or later), following Microsoft’s update guidance for CVE-2021-31166.
- If you cannot patch immediately, isolate the device from the internet and restrict inbound network access to only what your business needs until updates are applied.
- After updating, verify the device version/build in your operating system update history reflects the required fixed build.
Coverage timeline
0 publishersAdded to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened.
What it is
From the CVE record
HTTP Protocol Stack Remote Code Execution Vulnerability
In plain language
Written by AI from the recordCVE-2021-31166 is a Windows remote code execution flaw that can let an attacker run code on your machine over the network—if you run Windows 10 or Windows Server, you should treat this as urgent and patch if you’re not on the fixed versions.
CVE-2021-31166 is a Remote Code Execution issue in the Windows HTTP Protocol Stack (CWE-416) that enables an attacker to execute code by sending specially crafted network/HTTP traffic to affected Windows 10 and Windows Server systems; it has confirmed real-world exploitation listed in the CISA KEV.
If you're affected
- Full system takeover
- Ransomware deployment risk
- Service disruption
- Data theft
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2022-04-06.
US federal agencies must remediate by 2022-04-27.
Apply updates per vendor instructions.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
100% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 127 days before any public exploit.
- OpenVAS check added
- Public exploit / PoCsource: github-poc
- Patch availablerecord updated
- Added to CISA KEV
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- packetstormsecurity.com/files/162722/Microsoft-HTTP-Protocol-Stack-Remote-Code-Execution.html
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166
And 6 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Windows 10 Version 2004, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI