]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841)
authorSeth Michael Larson <seth@python.org>
Sat, 24 May 2025 02:57:13 +0000 (21:57 -0500)
committerGitHub <noreply@github.com>
Sat, 24 May 2025 02:57:13 +0000 (02:57 +0000)
commit47f1161d3a2bec52b5b5e952150141709c247da2
treeacfe4ca1141d64baec823847e6fc87eec2330a4f
parent973b8f69d31b4d86c37e0b7194a209f4f2efff06
gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841)

GH-128840: Limit the number of parts in IPv6 address parsing
Limit length of IP address string to 39

---------

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/ipaddress.py
Lib/test/test_ipaddress.py
Misc/NEWS.d/next/Security/2025-01-14-11-19-07.gh-issue-128840.M1doZW.rst [new file with mode: 0644]