INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2022-45908

PaddlePaddle vulnerable to code injection via winstr

CVE-2022-45908 ยท 2022-11-26 critical

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

Source: GitHub Advisory Database, used under CC BY 4.0.