CVE-2023-21640 Buffer Copy Without Checking Size of Input in Linux

Medium 6.7 Published Updated

A buffer overflow in Qualcomm Snapdragon firmware allows attackers to execute arbitrary code or escalate privileges via large input parameters.

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

CVE-2023-21640 is a medium-severity memory corruption vulnerability in Qualcomm Fastconnect 6900 Firmware, published on 4 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Memory corruption in Linux when the file upload API is called with parameters having large buffer.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2023-21640?

It affects 6 products.

Products include Qualcomm Fastconnect 6900 Firmware, Qualcomm Fastconnect 7800 Firmware, Qualcomm Snapdragon 8 Gen 1 Firmware, Qualcomm Wcd9380 Firmware, Qualcomm Wsa8830 Firmware, Qualcomm Wsa8835 Firmware.

How do I fix CVE-2023-21640?

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

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

All Qualcomm Fastconnect 6900 Firmware vulnerabilities

Sources

Also known as GHSA-f8q5-x346-4rf5.

Is CVE-2023-21640 in your software?

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

Check your SBOMs for free