CVE-2020-7791 Denial of Service (DoS)

High 7.5 Published Updated

An attacker can cause a denial of service in applications using the i18n library by providing malformed language tags.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-7791?

CVE-2020-7791 is a high-severity denial of service vulnerability in i18n, published on 11 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects the package i18n before 2.1.15. Vulnerability arises out of insufficient handling of erroneous language tags in src/i18n/Concrete/TextLocalizer.cs and src/i18n/LocalizedApplication.cs.

Which versions are affected by CVE-2020-7791?

2 open source packages ship an affected version, including i18n. It affects 1 product.

PackageAffectedFixed in
i18n NuGetAll versions2.1.15
i18n NuGetAll versions2.1.15

Products include I18n Project I18n.

How do I fix CVE-2020-7791?

Upgrade i18n to 2.1.15 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-7791 being exploited?

There is no known exploitation of CVE-2020-7791 in the wild and no public exploit code.

Sources

Also known as GHSA-hfvc-g252-rp4g, SNYK-DOTNET-I18N-1050179.

Is CVE-2020-7791 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free