CVE-2021-22129 Memory corruption in Fortinet FortiMail

High 8.8 Published Updated

An authenticated attacker can trigger a buffer overflow in FortiMail webmail or admin interfaces to execute unauthorized code via crafted HTTP requests.

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

What is CVE-2021-22129?

CVE-2021-22129 is a high-severity memory corruption vulnerability in Fortinet FortiMail, published on 9 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple instances of incorrect calculation of buffer size in the Webmail and Administrative interface of FortiMail before 6.4.5 may allow an authenticated attacker with regular webmail access to trigger a buffer overflow and to possibly execute unauthorized code or commands via specifically crafted HTTP requests.

Weakness: CWE-120

Which versions are affected by CVE-2021-22129?

It affects 1 product.

Products include Fortinet Fortimail.

How do I fix CVE-2021-22129?

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

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

Sources

Also known as GHSA-4466-79c6-7gv2.

Is CVE-2021-22129 in your software?

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

Check your SBOMs for free