[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

Serhiy Storchaka report at bugs.python.org
Sat Mar 30 12:15:02 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

See also the article "Ping and FTP Resolve IP Address with Leading Zero as Octal" (https://web.archive.org/web/20061206211851/http://support.microsoft.com/kb/115388).

This is still true in Windows 10.

So it is safer to reject IPv4 addresses with leading zeros that can be ambiguously interpreted. Otherwise this can create a security hole.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36384>
_______________________________________


More information about the Python-bugs-list mailing list