GHSA-ph84-rcj2-fxxm
Record from GitHub Advisory Database · Published December 6, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-3.13 | Chainguard | 3.13.1-r1 |
| python-3.12 | Chainguard | 3.12.8-r1 |
| python-3.12 | Wolfi | 3.12.8-r1 |
| python-3.13 | Wolfi | 3.13.1-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | python-3.13 | 0 |
| chainguard | python-3.12 | 0 |
| wolfi | python-3.12 | 0 |
| wolfi | python-3.13 | 0 |
Timeline
- Dec 6, 2024 CVE Published
- May 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-ph84-rcj2-fxxm
vulnetix vdb fixes GHSA-ph84-rcj2-fxxm
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-ph84-rcj2-fxxm/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-12254 advisory
- https://github.com/python/cpython/issues/127655 url
- https://github.com/python/cpython/commit/71e8429ac8e2adc10084ab5ec29a62f4b6671a82 url
- https://github.com/python/cpython/commit/9aa0deb2eef2655a1029ba228527b152353135b5 url
- https://mail.python.org/archives/list/security-announce@python.org/thread/H4O3UBAOAQQXGT4RE3E4XQYR5XLROORB url
- http://www.openwall.com/lists/oss-security/2024/12/06/1 url
- https://github.com/python/cpython/pull/127656 url
- https://github.com/python/cpython/commit/e991ac8f2037d78140e417cc9a9486223eb3e786 url
- https://security.netapp.com/advisory/ntap-20250404-0010 url