CVE-2021-36173 Memory corruption in Fortinet FortiOS

High 8.0 Published Updated

Heap-based buffer overflow in FortiOS firmware signature verification allows arbitrary code execution via crafted installation images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-36173?

CVE-2021-36173 is a high-severity memory corruption vulnerability in Fortinet Fortios, published on 8 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A heap-based buffer overflow in the firmware signature verification function of FortiOS versions 7.0.1, 7.0.0, 6.4.0 through 6.4.6, 6.2.0 through 6.2.9, and 6.0.0 through 6.0.13 may allow an attacker to execute arbitrary code via specially crafted installation images.

Weakness: CWE-787

Which versions are affected by CVE-2021-36173?

It affects 1 product.

Products include Fortinet Fortios.

How do I fix CVE-2021-36173?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-36173 being exploited?

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

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-p5m6-c47j-fg8m.

Is CVE-2021-36173 in your software?

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

Check your SBOMs for free