CVE-2023-52307 Stack overflow in paddle.linalg.lu_unpack

High 8.2 Published Updated

A stack overflow in PaddlePaddle's lu_unpack function allows attackers to cause a denial of service.

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-52307?

CVE-2023-52307 is a high-severity denial of service 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

Stack overflow in paddle.linalg.lu_unpack in PaddlePaddle before 2.6.0. This flaw can lead to a denial of service, or even more damage.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2023-52307?

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-52307?

Upgrade paddlepaddle to 2.6.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-52307 being exploited?

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

Sources

Also known as GHSA-g57v-2687-jx33, PYSEC-2024-139.

Is CVE-2023-52307 in your software?

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

Check your SBOMs for free