CVE-2021-24018 Memory corruption in Fortinet FortiOS

Medium 4.3 Published Updated

An attacker on the adjacent network can execute arbitrary code by exploiting a buffer underwrite in the firmware verification routine.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-24018?

CVE-2021-24018 is a medium-severity memory corruption vulnerability in Fortinet Fortios, published on 4 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A buffer underwrite vulnerability in the firmware verification routine of FortiOS before 7.0.1 may allow an attacker located in the adjacent network to potentially execute arbitrary code via a specifically crafted firmware image.

Weakness: CWE-787

Which versions are affected by CVE-2021-24018?

It affects 1 product.

Products include Fortinet Fortios.

How do I fix CVE-2021-24018?

No fix has been published for CVE-2021-24018 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-24018 being exploited?

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

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-q8x9-vj32-mh5w.

Is CVE-2021-24018 in your software?

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

Check your SBOMs for free