]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 May 2025 03:34:44 +0000 (05:34 +0200)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 03:34:44 +0000 (20:34 -0700)
commitd4cf1fafafc673e6147ff9d28f66ac1b50637605
tree7bc67d3e2df681662e369c3d9a73345c0a2c1674
parentd02823e8c45c735004d5f5902d295f5ec5fab171
[3.12] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) (#134612)

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]