DEBIAN-CVE-2024-12254

Source
https://security-tracker.debian.org/tracker/CVE-2024-12254
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-12254.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-12254
Upstream
Published
2024-12-06T16:15:20Z
Modified
2025-10-15T03:01:12Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

Starting in Python 3.12.0, the asyncio._SelectorSocketTransport.writelines() method would not "pause" writing and signal to the Protocol to drain the buffer to the wire once the write buffer reached the "high-water mark". Because of this, Protocols would not periodically drain the write buffer potentially leading to memory exhaustion. This vulnerability likely impacts a small number of users, you must be using Python 3.12.0 or later, on macOS or Linux, using the asyncio module with protocols, and using .writelines() method which had new zero-copy-on-write behavior in Python 3.12.0 and later. If not all of these factors are true then your usage of Python is unaffected.

References

Affected packages

Debian:13 / python3.13

Package

Name
python3.13
Purl
pkg:deb/debian/python3.13?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.13.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / python3.13

Package

Name
python3.13
Purl
pkg:deb/debian/python3.13?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.13.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}