CVE-2023-52308: PaddlePaddle floating point exception in paddle.amin
4.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.28014%
CWE
Published
1/3/2024
Updated
11/22/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| PaddlePaddle | pip | < 2.6.0 | 2.6.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input validation in tensor dimension handling. The commit diff shows a critical addition of PADDLE_ENFORCE_GE in SearchsortedInferMeta to validate that the input tensor has at least 1 dimension. This aligns with the CWE-369 (Divide By Zero) and the PoC demonstrating crashes with [0,0,6,3] shaped tensors. The function is directly tied to the amin operation's input validation, making it the root cause.