You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
poplib.py: Missing integer parsing validation causes client crash on invalid server response #130637
In poplib.py at line 229 the code attempts to convert a server response to an integer without first verifying that the response is numeric. If the server returns a non-numeric response, the int() conversion fails causing the client to crash.
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Activity
pythongh-130637: Add validation for numeric response data in `stat()`…
encukou commentedon Feb 28, 2025
This is a wrong exception (
ValueError), not a hard crash, right?gh-130637: Add validation for numeric response data in `stat()` method (
pythongh-130637: Add validation for numeric response data in `stat()`…
pythongh-130637: Add validation for numeric response data in `stat()`…
[3.12] gh-130637: Add validation for numeric response data in `stat()…
[3.13] gh-130637: Add validation for numeric response data in `stat()…