CVE-2022-45908

In PaddlePaddle before 2.4, paddle.audio.functional.get_window is vulnerable to code injection because it calls eval on a user-supplied winstr

Critical · published November 26, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
72.2
In the wild
Unconfirmed
What it is

🚨 A crafty input can turn the powerful PaddlePaddle library into an attacker’s playground! Before version 2.4, it lets anyone run code through a user-supplied window string—yikes! 🔥 Think of it like having a cookbook where anyone can add their own recipes without approval. A rogue chef could slip in a secret ingredient that poisons the entire dish! If exploited, this vulnerability allows an attacker to execute any arbitrary code on your server, potentially leading to data breaches, unauthorized access, or complete system takeover. That’s absolutely devastating for any application using PaddlePaddle!

Put simply

Think of it like having a cookbook where anyone can add their own recipes without approval. A rogue chef could slip in a secret ingredient that poisons the entire dish! The vulnerability arises from the use of the eval function on a user-supplied input (`winstr`) in `paddle.audio.functional.get_window`, allowing attackers to inject and execute malicious Python code.

What to do

If exploited, this vulnerability allows an attacker to execute any arbitrary code on your server, potentially leading to data breaches, unauthorized access, or complete system takeover. That’s absolutely devastating for any application using PaddlePaddle! Update PaddlePaddle to version 2.4 or later immediately to address this critical vulnerability. Additionally, audit any code that uses the `get_window` function to ensure other safeguards are in place against code injection. You've got this! Keep your PaddlePaddle library updated and secured—your security hero status is activated! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01398 · 72.2th percentile
Published
2022-11-26T00:00Z
EPSS history
Timeline
  • 26 NOV 00:00Z
    In PaddlePaddle before 2.4, paddle.audio.functional.get_window is vulnerable to code injection because it calls eval on a user-supplied winstr
    cvelistv5