cve.bz

CVE-2021-31957 Uncontrolled Resource Consumption

5.9 mediumEPSS 5.1%Fix available

Medium (5.9). EPSS 5.1% estimated probability of exploitation activity in the next 30 days.

On this page
ASP.NET Core Denial of Service Vulnerability

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.1% (unchanged from 5.1% a week ago; 5.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-31957 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31957?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31957?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-31957 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-31957

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-31957](https://cve.bz/cve/badge/CVE-2021-31957.svg)](https://cve.bz/cve/CVE-2021-31957)

HTML:

<a href="https://cve.bz/cve/CVE-2021-31957"><img src="https://cve.bz/cve/badge/CVE-2021-31957.svg" alt="CVE-2021-31957"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)from 16.0 before 16.4.23
Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)from 16.0.0 before 16.7.16
Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)from 15.0.0 before 16.9.7
Microsoft Visual Studio 2019 version 16.10 (includes 16.0 - 16.9)from 16.10.0 before 16.10.1
Microsoft Visual Studio 2019 for Mac version 8.10from 8.1.0 before 8.10.1
Microsoft .NET Core 3.1from 3.1 before 3.1.16
Microsoft .NET 5.0from 5.0.0 before 5.0.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:8::appstreamdotnet, dotnet5.0, dotnet-sdk-5.0 and 5 more0:5.0.204-1.el8_4RHSA-2021:2353
Red Hatenterprise_linux:8::appstreamdotnet-host, dotnet-hostfxr-5.0, dotnet-runtime-5.0 and 8 more0:5.0.7-1.el8_4RHSA-2021:2353
Red Hatenterprise_linux:8::appstreamdotnet-hostfxr-3.1, dotnet-runtime-3.1, aspnetcore-runtime-3.1 and 6 more0:3.1.16-1.el8_4RHSA-2021:2352
Red Hatenterprise_linux:8::appstreamdotnet3.1, dotnet-sdk-3.1, dotnet3.1-debuginfo and 3 more0:3.1.116-1.el8_4RHSA-2021:2352
Red Hatrhel_dotnet:3.1::el7rh-dotnet31-dotnet, rh-dotnet31-dotnet-sdk-3.1, rh-dotnet31-dotnet-debuginfo and 2 more0:3.1.116-1.el7_9RHSA-2021:2350
Red Hatrhel_dotnet:3.1::el7rh-dotnet31-dotnet-host, rh-dotnet31-dotnet-hostfxr-3.1, rh-dotnet31-dotnet-runtime-3.1 and 4 more0:3.1.16-1.el7_9RHSA-2021:2350
Red Hatrhel_dotnet:5.0::el7rh-dotnet50-dotnet, rh-dotnet50-dotnet-sdk-5.0, rh-dotnet50-dotnet-debuginfo and 2 more0:5.0.204-1.el7_9RHSA-2021:2351
Red Hatrhel_dotnet:5.0::el7rh-dotnet50-dotnet-host, rh-dotnet50-dotnet-hostfxr-5.0, rh-dotnet50-dotnet-runtime-5.0 and 4 more0:5.0.7-1.el7_9RHSA-2021:2351

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet31-dotnet-0:3.1.116-1.el7_9Fixed 2021-06-09RHSA-2021:2350
.NET Core on Red Hat Enterprise Linuxrh-dotnet50-dotnet-0:5.0.204-1.el7_9Fixed 2021-06-09RHSA-2021:2351
Red Hat Enterprise Linux 8dotnet3.1-0:3.1.116-1.el8_4Fixed 2021-06-09RHSA-2021:2352
Red Hat Enterprise Linux 8dotnet5.0-0:5.0.204-1.el8_4Fixed 2021-06-09RHSA-2021:2353
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21Not affected
Red Hat Enterprise Linux 8dotnetNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-31957.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON