CVE-2024-43497 DeepSpeed Remote Code Execution Vulnerability

High 8.4 Published Updated

Attackers can execute arbitrary code via command injection in the DeepSpeed library, requiring a patch to mitigate.

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

What is CVE-2024-43497?

CVE-2024-43497 is a high-severity command injection vulnerability in Microsoft DeepSpeed, published on 8 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

DeepSpeed Remote Code Execution Vulnerability

Weakness: CWE-77

Which versions are affected by CVE-2024-43497?

3 open source packages ship an affected version, including deepspeed. It affects 1 product.

PackageAffectedFixed in
deepspeed PyPIAll versions0.15.1
deepspeed PyPIAll versions0.15.1
deepspeed PyPIAll versions0.15.1

Products include Microsoft Deepspeed.

How do I fix CVE-2024-43497?

Upgrade deepspeed to 0.15.1 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-43497 being exploited?

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

Sources

Also known as GHSA-8cp5-3rf8-8gfh, PYSEC-2024-109.

Is CVE-2024-43497 in your software?

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

Check your SBOMs for free