Use after free in paddle.diagonal in PaddlePaddle before 2.5.0. This resulted in a potentially exploitable condition.
References:- https://nvd.nist.gov/vuln/detail/CVE-2023-38669
- https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2023-001.md
- https://github.com/PaddlePaddle/Paddle/commit/43981874f5e1683b855eab871092fa9be58d6a44
- https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2023-122.yaml
- https://github.com/advisories/GHSA-8wfh-qxxv-3q8c