]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:40 +0000 (05:33 +0200)
committerGitHub <noreply@github.com>
Sat, 24 May 2025 03:33:40 +0000 (20:33 -0700)
commit2e303414781b6382b0c657ff3ad2a310d66a8a14
tree51923d7cd45933e946ea01afb13e7a96560c084b
parente4c4ecccec01f88f481ace28eb877ed5e80b6c69
[3.13] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) (#134611)

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]