CVE-2023-38669 Use after free in PaddlePaddle
A use-after-free flaw in PaddlePaddle's diagonal function allows attackers to potentially execute arbitrary code or cause a denial of service.
- 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-38669?
CVE-2023-38669 is a high-severity use after free vulnerability in PaddlePaddle, published on 26 Jul 2023. 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
Use after free in paddle.diagonal in PaddlePaddle before 2.5.0. This resulted in a potentially exploitable condition.
Weakness: CWE-416
Which versions are affected by CVE-2023-38669?
3 open source packages ship an affected version, including paddlepaddle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
paddlepaddle PyPI | All versions | 2.5.0 |
paddlepaddle PyPI | All versions | 2.5.0 |
paddlepaddle PyPI | All versions | 2.5.0 |
Products include Paddlepaddle Paddlepaddle.
How do I fix CVE-2023-38669?
Upgrade paddlepaddle to 2.5.0 or later.
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-2023-38669 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38669 exists.
Other vulnerabilities in PaddlePaddle
Sources
Also known as GHSA-8wfh-qxxv-3q8c, PYSEC-2023-122.