CVE-2021-31166
HTTP Protocol Stack Remote Code Execution Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 6 Apr 2022. US federal agencies had to act by 27 Apr 2022.
- Name
- Microsoft HTTP Protocol Stack Remote Code Execution Vulnerability
- Required action
- Apply updates per vendor instructions.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2021-31166
Description
HTTP Protocol Stack Remote Code Execution Vulnerability
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 99.8%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 2 Dec 2026.
The assessment of CISA (SSVC, 7 Feb 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Windows 10 Version 2004 |
affected from 10.0.0, before 10.0.19041.982
|
| Windows Server version 2004 |
affected from 10.0.0, before 10.0.19041.982
|
| Windows 10 Version 20H2 |
affected from 10.0.0, before 10.0.19042.982
|
| Windows Server version 20H2 |
affected from 10.0.0, before 10.0.19042.982
|
Is my server affected?
This CVE is in Windows 10 Version 2004 of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166 cisa.gov · government resource
Other references
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166 portal.msrc.microsoft.com
- http://packetstormsecurity.com/files/162722/Microsoft-HTTP-Protocol-Stack-Remote-Code-Execution.html packetstormsecurity.com
Source: the record CVE-2021-31166 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse