CVE-2022-46742 PaddlePaddle vulnerable to Code Injection

Critical 10.0 Published Updated

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.

PackageAffectedFixed in
paddlepaddle PyPIAll versions2.4.0
paddlepaddle PyPIAll versions2.4.0
paddlepaddle PyPIAll versions2.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.

Sources

Also known as GHSA-gcjf-29m9-888q, PYSEC-2022-43063.

Is CVE-2022-46742 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free