CVE-2021-34259 Memory corruption in n/a

Medium 6.8 Published Updated

A buffer overflow in STM32Cube Middleware allows attackers to execute arbitrary code via crafted USB configuration descriptors.

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

What is CVE-2021-34259?

CVE-2021-34259 is a medium-severity memory corruption vulnerability in n/a, published on 22 Jul 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A buffer overflow vulnerability in the USBH_ParseCfgDesc() function of STMicroelectronics STM32Cube Middleware v1.8.0 and below allows attackers to execute arbitrary code.

Weakness: CWE-120

Which versions are affected by CVE-2021-34259?

It affects 1 product.

Products include St Stm32cube Middleware.

How do I fix CVE-2021-34259?

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

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

Sources

Also known as GHSA-7g6w-vchp-xwf7.

Is CVE-2021-34259 in your software?

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

Check your SBOMs for free