CVE-2023-29824

A use-after-free issue was discovered in Py_FindObjects() function in SciPy versions prior to 1.8.0

Critical · published July 6, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
71.2
In the wild
Unconfirmed
What it is

🚨 There’s a use-after-free issue lurking in the Py_FindObjects() function of SciPy versions before 1.8.0, and it’s a real head-scratcher! 🔥 Think of it like a library where a book is checked out, but the librarian keeps referencing the same book even after it’s been returned — leading to confusion and potential chaos! 📚 If exploited, this could enable an attacker to manipulate memory, potentially leading to unexpected behavior or crashes in your applications. While the vendor claims it’s not a security issue, the risk is way too high to ignore!

Put simply

Think of it like a library where a book is checked out, but the librarian keeps referencing the same book even after it’s been returned — leading to confusion and potential chaos! 📚 This use-after-free flaw occurs when the memory allocated for an object is freed, but a reference to it is still in use. This can lead to memory corruption when the program tries to access that freed memory space.

What to do

If exploited, this could enable an attacker to manipulate memory, potentially leading to unexpected behavior or crashes in your applications. While the vendor claims it’s not a security issue, the risk is way too high to ignore! Upgrade to SciPy version 1.8.0 or later immediately! Review your code for any reliance on the affected function and ensure memory management practices are robust. Don’t forget to test your applications after the patch! This is fixable! Stay vigilant and follow these steps to keep your software safe. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01345 · 71.2th percentile
Published
2023-07-06T00:00Z
EPSS history
Timeline
  • 06 JUL 00:00Z
    A use-after-free issue was discovered in Py_FindObjects() function in SciPy versions prior to 1.8.0
    cvelistv5