Security mailing lists by PureSourceCode

CVE-2024-9979

MEDIUM 5.3CVSS 3.1

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.

Published
15 Oct 2024
Last modified
24 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Deferred
Weakness
CWE-416
Also known as
GHSA-6jgw-rgmm-7cv6RUSTSEC-2024-0378
Sources
NVDJSONCVE ListJSONOSV GHSA-6jgw-rgmm-7cv6JSONOSV RUSTSEC-2024-0378JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVE List redhat CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://github.com/PyO3/pyo3 pyo3 >= 0.22.0, < 0.22.4 0.22.4
CVE List https://access.redhat.com/downloads/content/package-browser/ python3.11-nh3
cpe:/a:redhat:ansible_automation_platform:2
CVE List https://access.redhat.com/downloads/content/package-browser/ python3.11-rpds-py
cpe:/a:redhat:ansible_automation_platform:2
CVE List https://access.redhat.com/downloads/content/package-browser/ python-rpds-py
cpe:/o:redhat:enterprise_linux:10
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ python3.11-cryptography
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ python3.12-cryptography
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ python3.11-cryptography
cpe:/o:redhat:enterprise_linux:9
CVE List https://access.redhat.com/downloads/content/package-browser/ python3.12-cryptography
cpe:/o:redhat:enterprise_linux:9
OSV crates.io pyo3 >= 0.22.0, < 0.22.4 0.22.4

References

History

  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 15 Oct 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Oct 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Oct 2024)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 15 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.