CVE-2023-50096 Memory corruption in n/a

High 7.5 Published Updated

An adversary with I2C bus access can execute arbitrary MCU code via a buffer overflow in the STSAFE-A1xx middleware.

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

CVE-2023-50096 is a high-severity memory corruption vulnerability in n/a, published on 1 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

STMicroelectronics STSAFE-A1xx middleware before 3.3.7 allows MCU code execution if an adversary has the ability to read from and write to the I2C bus. This is caused by an StSafeA_ReceiveBytes buffer overflow in the X-CUBE-SAFEA1 Software Package for STSAFE-A sample applications (1.2.0), and thus can affect user-written code that was derived from a published sample application.

Weakness: CWE-120

Which versions are affected by CVE-2023-50096?

It affects 1 product.

Products include St X-Cube-Safea1.

How do I fix CVE-2023-50096?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50096 exists.

Sources

Also known as GHSA-pjh6-2v65-x4fj.

Is CVE-2023-50096 in your software?

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

Check your SBOMs for free