CVE-2018-8540 Code injection in Microsoft .NET Framework

Critical 9.8 Published Updated

Attackers can execute arbitrary code remotely due to improper input validation in the Microsoft .NET Framework.

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

What is CVE-2018-8540?

CVE-2018-8540 is a critical code injection vulnerability in Microsoft .Net Framework, published on 12 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A remote code execution vulnerability exists when the Microsoft .NET Framework fails to validate input properly, aka ".NET Framework Remote Code Injection Vulnerability." This affects Microsoft .NET Framework 4.6, Microsoft .NET Framework 3.5, Microsoft .NET Framework 4.7/4.7.1/4.7.2, Microsoft .NET Framework 4.6/4.6.1/4.6.2/4.7/4.7.1/4.7.1/4.7.2, Microsoft .NET Framework 3.5.1, Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2, Microsoft .NET Framework 4.5.2, Microsoft .NET Framework 4.7.1/4.7.2, Microsoft .NET Framework 4.7.2, Microsoft .NET Framework 4.6.2.

Weakness: CWE-94

Which versions are affected by CVE-2018-8540?

It affects 1 product.

Products include Microsoft .Net Framework.

How do I fix CVE-2018-8540?

No fix has been published for CVE-2018-8540 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2018-8540 being exploited?

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

All Microsoft .Net Framework vulnerabilities

Sources

Also known as GHSA-5vvw-jxjx-wg5h.

Is CVE-2018-8540 in your software?

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

Check your SBOMs for free