Browse / AI Framework and Platform Flaws / CVE-2022-45908
PaddlePaddle vulnerable to code injection via winstr
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Code and command execution
- Affected
- paddlepaddle (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.4% chance of exploitation in 30 days
How it works, in short
An audio helper evaluates a caller-supplied window name as Python code, so a crafted string can run arbitrary commands. (Our summary, written by a model. The source text is below.)
Details
In PaddlePaddle before 2.4, paddle.audio.functional.get_window is vulnerable to code injection because it calls eval on a user-supplied winstr. This may lead to arbitrary code execution.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-45908
- https://github.com/PaddlePaddle/Paddle/commit/26c419ca386aeae3c461faf2b828d00b48e908eb
- https://github.com/PaddlePaddle/Paddle
- https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2022-002.md
- https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2026-443.yaml
- https://pypi.org/project/paddlepaddle
Source: GitHub Advisory Database, used under CC BY 4.0.