CVE-2024-38158 Azure IoT SDK Remote Code Execution Vulnerability

High 7.0 Published Updated

A use-after-free flaw in the Azure IoT SDK allows remote attackers to execute arbitrary code.

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

What is CVE-2024-38158?

CVE-2024-38158 is a high-severity use after free vulnerability in Microsoft C SDK for Azure IoT, published on 13 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Azure IoT SDK Remote Code Execution Vulnerability

Weakness: CWE-416

Which versions are affected by CVE-2024-38158?

It affects 1 product.

Products include Microsoft Azure Iot Hub Device Client Sdk.

How do I fix CVE-2024-38158?

No fix has been published for CVE-2024-38158 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-38158 being exploited?

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

Sources

Also known as GHSA-qwxg-pc97-38hm.

Is CVE-2024-38158 in your software?

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

Check your SBOMs for free