CVE-2023-52305 FPE in paddle.topk
An attacker can cause a runtime crash and denial of service in PaddlePaddle via a floating point exception in the topk function.
- 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-52305?
CVE-2023-52305 is a medium-severity denial of service 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
FPE in paddle.topk in PaddlePaddle before 2.6.0. This flaw can cause a runtime crash and a denial of service.
Weakness: CWE-369
Which versions are affected by CVE-2023-52305?
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-52305?
Upgrade paddlepaddle to 2.6.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-52305 being exploited?
There is no known exploitation of CVE-2023-52305 in the wild and no public exploit code.
Other vulnerabilities in PaddlePaddle
Sources
Also known as GHSA-rx2r-q96c-w5cc, PYSEC-2024-137.