Description
The method "sock_recvfrom_into()" of "asyncio.ProacterEventLoop" (Windows only) was missing a boundary check for the data buffer when using nbytes parameter. This allowed for an out-of-bounds buffer write if data was larger than the buffer size. Non-Windows platforms are not affected.
Problem types
Product status
3.11.0 (python) before 3.15.0
Credits
GGAutomaton (https://github.com/GGAutomaton)
Victor Stinner (https://github.com/vstinner)
Seth Larson (https://github.com/sethmlarson)
References
github.com/python/cpython/pull/148809
github.com/python/cpython/issues/148808
mail.python.org/.../thread/KWTPIQBOOOUNQP7UFSLBI437NJDFLA3F/
github.com/...ommit/1274766d3c29007ab77245a72abbf8dce2a9db4d
github.com/...ommit/27522b7d6e6588f03e61099dd858cd5a9314e2f2
github.com/...ommit/95633d2aad4721e25e4dfd9f43dfb6e1edcbd741