CVE-2024-12254
Last modified
CVE-2024-12254 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 1.88% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-12254?
How severe is CVE-2024-12254?
How do I fix CVE-2024-12254?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-12249The GS Insever Portfolio plugin for WordPress is vulnerable …4.3
- CVE-2024-1225A vulnerability classified as critical was found in QiboSoft…9.8
- CVE-2024-12250The Accept Authorize.NET Payments Using Contact Form 7 plugi…5.3
- CVE-2024-12251In Progress Telerik UI for WinUI versions prior to 2025 Q1 (…7.8
- CVE-2024-12252The SEO LAT Auto Post plugin for WordPress is vulnerable to …9.8
- CVE-2024-12253The Simple Ecommerce Shopping Cart Plugin- Sell products thr…5.4
- CVE-2024-12255The Accept Stripe Payments Using Contact Form 7 plugin for W…5.3
- CVE-2024-12256The Simple Video Management System plugin for WordPress is v…6.1
- CVE-2024-12257The CardGate Payments for WooCommerce plugin for WordPress i…6.1
- CVE-2024-12258The WP Service Payment Form With Authorize.net plugin for Wo…6.1
- CVE-2024-12259The CRM WordPress Plugin – RepairBuddy plugin for WordPress …8.8
- CVE-2024-1226The software does not neutralize or incorrectly neutralizes …7.5
Are you affected by CVE-2024-12254?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
