CVE-2023-38671 Heap buffer overflow in paddle.trace

High 8.3 Published Updated

A heap buffer overflow in PaddlePaddle's trace function allows attackers to cause denial of service or disclose sensitive information.

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

CVE-2023-38671 is a high-severity memory corruption vulnerability in PaddlePaddle, published on 26 Jul 2023. 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

Heap buffer overflow in paddle.trace in PaddlePaddle before 2.5.0. This flaw can lead to a denial of service, information disclosure, or more damage is possible.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2023-38671?

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

PackageAffectedFixed in
paddlepaddle PyPIAll versions2.5.0
paddlepaddle PyPIAll versions2.5.0
paddlepaddle PyPIAll versions2.5.0

Products include Paddlepaddle Paddlepaddle.

How do I fix CVE-2023-38671?

Upgrade paddlepaddle to 2.5.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-38671 being exploited?

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

Sources

Also known as GHSA-hh7p-hvm3-rg88, PYSEC-2023-124.

Is CVE-2023-38671 in your software?

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

Check your SBOMs for free