CVE-2023-52310 Command injection in get_online_pass_interval

Critical 9.6 Published Updated

Attackers can execute arbitrary OS commands via the get_online_pass_interval function in PaddlePaddle, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-52310?

CVE-2023-52310 is a critical command injection vulnerability in PaddlePaddle, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

PaddlePaddle before 2.6.0 has a command injection in get_online_pass_interval. This resulted in the ability to execute arbitrary commands on the operating system.

Weakness: CWE-78

Which versions are affected by CVE-2023-52310?

3 open source packages ship an affected version, including paddlepaddle and PaddlePaddle. It affects 1 product.

PackageAffectedFixed in
paddlepaddle PyPIAll versions2.6.0
paddlepaddle PyPIAll versions2.6.0
PaddlePaddle PyPIAll versions2.6.0

Products include Paddlepaddle Paddlepaddle.

How do I fix CVE-2023-52310?

Upgrade paddlepaddle to 2.6.0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-52310 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-52310 exists.

Sources

Also known as GHSA-j5h9-9r39-43q5, PYSEC-2024-142.

Is CVE-2023-52310 in your software?

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

Check your SBOMs for free