CVE-2021-32589 Use after free in FortiAnalyzer

High 7.7 Published Updated

Remote unauthenticated attackers can execute arbitrary code as root on FortiManager and FortiAnalyzer devices via a crafted request to the fgfm port.

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-2021-32589?

CVE-2021-32589 is a high-severity use after free vulnerability in Fortinet Fortianalyzer, published on 19 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Use After Free (CWE-416) vulnerability in FortiManager version 7.0.0, version 6.4.5 and below, version 6.2.7 and below, version 6.0.10 and below, version 5.6.10 and below, version 5.4.7 and below, version 5.2.10 and below, version 5.0.12 and below and FortiAnalyzer version 7.0.0, version 6.4.5 and below, version 6.2.7 and below, version 6.0.10 and below, version 5.6.10 and below, version 5.4.7 and below, version 5.3.11, version 5.2.10 to 5.2.4 fgfmsd daemon may allow a remote, non-authenticated attacker to execute unauthorized code as root via sending a specifically crafted request to the fgfm port of the targeted device.

Weakness: CWE-416

Which versions are affected by CVE-2021-32589?

It affects 3 products.

Products include Fortinet Fortianalyzer, Fortinet Fortimanager, Fortinet Fortiportal.

How do I fix CVE-2021-32589?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-32589 being exploited?

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

All Fortinet Fortianalyzer vulnerabilities

Sources

Also known as GHSA-5mvx-j4j8-xv4p.

Is CVE-2021-32589 in your software?

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

Check your SBOMs for free