CVE-2023-22640 Memory corruption in FortiOS

High 7.1 Published Updated

An authenticated attacker can execute unauthorized code via crafted requests due to an out-of-bounds write in FortiOS and FortiProxy.

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-2023-22640?

CVE-2023-22640 is a high-severity memory corruption vulnerability in Fortinet Fortios, published on 3 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A out-of-bounds write vulnerability in Fortinet FortiOS 7.2.0 through 7.2.3, FortiOS 7.0.0 through 7.0.10, FortiOS 6.4.0 through 6.4.11, FortiOS 6.2.0 through 6.2.13, FortiOS 6.0.0 through 6.0.16, FortiProxy 7.2.0 through 7.2.1, FortiProxy 7.0.0 through 7.0.7, FortiProxy 2.0 all versions, FortiProxy 01.02 all versions, FortiProxy 1.2 all versions, FortiProxy 01.01 all versions, FortiProxy 1.1 all versions, FortiProxy 01.00 all versions allows an authenticated attacker to execute unauthorized code or commands via specifically crafted requests.

Weakness: CWE-787

Which versions are affected by CVE-2023-22640?

It affects 2 products.

Products include Fortinet Fortios, Fortinet Fortiproxy.

How do I fix CVE-2023-22640?

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

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

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-jmw9-f5xc-4q6q.

Is CVE-2023-22640 in your software?

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

Check your SBOMs for free