Pyo3: risk of use-after-free in `borrowed` reads from python weak references (pyo3)

CVE-2024-9979
MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.21 % Β· percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

Description

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Lredhat
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LNVD Β· secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
pyo3affected 0.22.0 < 0.22.4
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Enterprise Linux 10
Red Hat Β· Red Hat Enterprise Linux 8
Red Hat Β· Red Hat Enterprise Linux 8
Red Hat Β· Red Hat Enterprise Linux 9
Red Hat Β· Red Hat Enterprise Linux 9

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD