CVE-2024-43497 DeepSpeed Remote Code Execution Vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
deepspeed PyPI | All versions | 0.15.1 |
deepspeed PyPI | All versions | 0.15.1 |
deepspeed PyPI | All versions | 0.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.