Browse / AI Framework and Platform Flaws / CVE-2022-46742
PaddlePaddle vulnerable to Code Injection
- 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.2% chance of exploitation in 30 days
How it works, in short
Passing a crafted window name to this audio helper lets attacker-supplied text reach Python evaluation, so arbitrary code runs in the process. (Our summary, written by a model. The source text is below.)
Details
Code injection in paddle.audio.functional.get_window in PaddlePaddle 2.4.0-rc0 allows arbitrary code execution. A patch is available on the develop branch of the repository and anticipated to be part of a 2.4 release.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-46742
- https://github.com/PaddlePaddle/Paddle/pull/47386
- 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-2022-43063.yaml
Source: GitHub Advisory Database, used under CC BY 4.0.