Use-After-Free in PyO3 via weak ref unsound borrow
CVE-2024-9979 Published on October 15, 2024
Pyo3: risk of use-after-free in `borrowed` reads from python weak references
A flaw was found in PyO3. This vulnerability causes a use-after-free issue, potentially leading to memory corruption or crashes via unsound borrowing from weak Python references.
Vulnerability Analysis
CVE-2024-9979 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be low. considered to have a small impact on confidentiality and integrity and availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2024-9979 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2024-9979
stack.watch emails you whenever new vulnerabilities are published in Red Hat Ansible Automation Platform or Red Hat Enterprise Linux (RHEL). Just hit a watch button to start following.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.