CVE-2023-52314 Command injection in convert_shape_compare
Attackers can execute arbitrary OS commands via command injection in convert_shape_compare, affecting PaddlePaddle users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-52314?
CVE-2023-52314 is a critical command injection vulnerability in PaddlePaddle, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
PaddlePaddle before 2.6.0 has a command injection in convert_shape_compare. This resulted in the ability to execute arbitrary commands on the operating system.
Weakness: CWE-78
Which versions are affected by CVE-2023-52314?
3 open source packages ship an affected version, including paddlepaddle and PaddlePaddle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
paddlepaddle PyPI | All versions | 2.6.0 |
paddlepaddle PyPI | All versions | 2.6.0 |
PaddlePaddle PyPI | All versions | 2.6.0 |
Products include Paddlepaddle Paddlepaddle.
How do I fix CVE-2023-52314?
Upgrade paddlepaddle to 2.6.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-52314 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-52314 exists.
Other vulnerabilities in PaddlePaddle
Sources
Also known as GHSA-3cr5-2446-8pg3, PYSEC-2024-146.