Red Hat VEX
RHVEX-CVE-2023-25399
scipy: refcounting issue leads to potential memory leak
Details
A flaw was found in SciPy, where it is vulnerable to a denial of service caused by a memory leak flaw in the Py_FindObjects() function due to a new reference not being decreased. This flaw allows a local attacker to send a specially crafted request, forcing the application to leak memory and perform a denial of service attack.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | scipy | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | scipy | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python2-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | python3-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | python3.11-scipy | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2023-25399
- https://bugzilla.redhat.com/show_bug.cgi?id=2220864
- https://www.cve.org/CVERecord?id=CVE-2023-25399
- https://nvd.nist.gov/vuln/detail/CVE-2023-25399
- http://www.square16.org/achievement/cve-2023-25399/
- https://github.com/scipy/scipy/issues/16235#issuecomment-1625361328