{"schema":"threatline.record/2","record":{"id":"CVE-2021-31166","aliases":[],"summary":"Microsoft HTTP Protocol Stack Remote Code Execution Vulnerability","details":"Microsoft HTTP Protocol Stack contains a vulnerability in http.sys that allows for remote code execution.","categories":["Unclassified"],"product":"HTTP Protocol Stack","vendor":"Microsoft","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Windows 10 Version 2004","vendor":"Microsoft","versions":[{"version":"10.0.0","lessThan":"10.0.19041.982","versionType":"custom","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Windows Server version 2004","vendor":"Microsoft","versions":[{"version":"10.0.0","lessThan":"10.0.19041.982","versionType":"custom","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Windows 10 Version 20H2","vendor":"Microsoft","versions":[{"version":"10.0.0","lessThan":"10.0.19042.982","versionType":"custom","status":"affected"}],"defaultStatus":null},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Windows Server version 20H2","vendor":"Microsoft","versions":[{"version":"10.0.0","lessThan":"10.0.19042.982","versionType":"custom","status":"affected"}],"defaultStatus":null}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Windows 10 Version 2004","ecosystem":null},"version":"10.0.19041.982","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Windows Server version 2004","ecosystem":null},"version":"10.0.19041.982","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Windows 10 Version 20H2","ecosystem":null},"version":"10.0.19042.982","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","source_modified_at":"2025-10-21T23:25:45.988Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Windows Server version 20H2","ecosystem":null},"version":"10.0.19042.982","basis":"first unaffected version stated in the CVE record"}],"cvss":9.8,"severity":"Critical","kev":{"listed":true,"date_added":"2022-04-06","due_date":"2022-04-27","required_action":"Apply updates per vendor instructions.","ransomware_campaign_use":"Unknown"},"epss":{"probability":0.99867,"percentile":0.99963,"score_date":"2026-10-23"},"published_at":"2021-05-11T19:11:19.000Z","modified_at":"2025-10-21T23:25:45.988Z","provenance":[{"source":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T17:00:09.9001Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31166","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2025-10-21T23:25:45.988Z"},{"source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/windows/http/http_sys_accept_encoding_dos_cve_2021_31166.rb","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2021-05-11"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-31166","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CISA KEV","CVE List","Metasploit","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31166","source":"CISA KEV"},{"source":"CVE List","url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166","tags":["x_refsource_MISC","x_transferred"]},{"source":"CVE List","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166","tags":["government-resource"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"active","automatable":"yes","technical_impact":"total","assessed_at":"2025-02-07T14:36:57.411562Z"},"exploits":[{"source":"Metasploit","kind":"Auxiliary module","name":"Windows IIS HTTP Protocol Stack DOS","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/windows/http/http_sys_accept_encoding_dos_cve_2021_31166.rb","date":"2021-05-11","added":"2022-10-01","check":false}],"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2025-10-21T23:25:45.988Z","content_hash":"40d82e44e334f9d070cfa86ccf2cc1ae99dcb9f5edc6cd32128024da57603a56"}}
