]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 24 May 2025 03:33:35 +0000 (05:33 +0200)
committerGitHub <noreply@github.com>
Sat, 24 May 2025 03:33:35 +0000 (20:33 -0700)
commit576177d4b3c9385a943c202d9ed0af7988f67341
treed60be03e15e2c78fe3f82344b185c73c9fbe84b5
parent38a38243b7102e611c4dc3719975ff27dc7368b8
[3.14] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) (#134610)

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

---------
(cherry picked from commit 47f1161d3a2bec52b5b5e952150141709c247da2)

Co-authored-by: Seth Michael Larson <seth@python.org>
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]