CVE-2022-46742 PaddlePaddle vulnerable to Code Injection
Attackers can execute arbitrary code via code injection in the audio functional module of the PaddlePaddle machine learning library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-46742?
CVE-2022-46742 is a critical code injection vulnerability in PaddlePaddle, published on 7 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Code injection in paddle.audio.functional.get_window in PaddlePaddle 2.4.0-rc0 allows arbitrary code execution.
Weakness: CWE-94
Which versions are affected by CVE-2022-46742?
3 open source packages ship an affected version, including paddlepaddle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
paddlepaddle PyPI | All versions | 2.4.0 |
paddlepaddle PyPI | All versions | 2.4.0 |
paddlepaddle PyPI | All versions | 2.4.0 |
Products include Paddlepaddle Paddlepaddle.
How do I fix CVE-2022-46742?
Upgrade paddlepaddle to 2.4.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-46742 being exploited?
There is no known exploitation of CVE-2022-46742 in the wild and no public exploit code.
Other vulnerabilities in PaddlePaddle
Sources
Also known as GHSA-gcjf-29m9-888q, PYSEC-2022-43063.