HighGHSA-cmhx-cq75-c4mjCVE-2019-0820

Regular Expression Denial of Service in System.Text.RegularExpressions

Published 4 Aug 2021 · Updated 8 Nov 2023

Is your project on an affected System.Text.RegularExpressions?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=4.3.0 <4.3.1
Fixed in
4.3.1
Update to the fixed version for your release line, for example:dotnet add package System.Text.RegularExpressions --version 4.3.1

Details

A denial of service vulnerability exists when .NET Framework and .NET Core improperly process RegEx strings, aka '.NET Framework and .NET Core Denial of Service Vulnerability'. This CVE ID is unique from CVE-2019-0980, CVE-2019-0981.

Is GHSA-cmhx-cq75-c4mj in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected System.Text.RegularExpressions, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.