CVE-2024-0817 PaddlePaddle command injection vulnerability
Attackers can execute arbitrary commands via the IrGraph.draw function in the PaddlePaddle deep learning library.
- 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-0817?
CVE-2024-0817 is a critical command injection vulnerability in paddlepaddle/paddle, published on 7 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Command injection in IrGraph.draw in paddlepaddle/paddle 2.6.0
Weakness: CWE-77
Which versions are affected by CVE-2024-0817?
3 open source packages ship an affected version, including paddlepaddle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
paddlepaddle PyPI | All versions to 2.6.0 | None |
paddlepaddle PyPI | All versions to 2.6.0 | None |
paddlepaddle PyPI | All versions | 3.0.0-beta0 |
Products include Paddlepaddle Paddlepaddle.
How do I fix CVE-2024-0817?
Upgrade paddlepaddle to 3.0.0-beta0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-0817 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0817 exists.
Other vulnerabilities in paddlepaddle/paddle
Sources
Also known as GHSA-fh54-3vhg-mpc2, PYSEC-2026-1754.