CVE-2023-38677:
PaddlePaddle floating point exception in paddle.linalg.eig
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 processing empty tensors in eigenvalue computations. The commit diff shows a critical check 'PADDLE_ENFORCE_GT(x.numel(), 0)' was added to EigKernel in paddle/phi/kernels/cpu/eig_kernel.cc. This matches the CWE-369 (Divide By Zero) description and the advisory's PoC using a tensor with a 0-sized dimension. The absence of this check in pre-2.6.0 versions directly caused the FPE vulnerability.