REDHAT-BUG-2330804: High severity Python Python vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2330804?
The severity of REDHAT-BUG-2330804 is considered significant due to the potential impact on network communication in applications using Python 3.12.0.
How do I fix REDHAT-BUG-2330804?
To fix REDHAT-BUG-2330804, you should update Python to a version that contains the necessary patches addressing this issue.
What systems are affected by REDHAT-BUG-2330804?
REDHAT-BUG-2330804 affects systems running Python version 3.12.0 and later.
What functionality is impacted by REDHAT-BUG-2330804?
The writelines() method in asyncio._SelectorSocketTransport is impacted, which fails to properly signal when the write buffer is full.
Is there a workaround for REDHAT-BUG-2330804?
Currently, there is no known effective workaround for REDHAT-BUG-2330804 aside from upgrading to a patched version.