]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 3 Jun 2025 13:55:00 +0000 (15:55 +0200)
committerGitHub <noreply@github.com>
Tue, 3 Jun 2025 13:55:00 +0000 (15:55 +0200)
commitda3755557a2f6421e400f6903a47b9de291a9494
treed83d1835542472cd43309c9c582dc83a8ebb440d
parentf38f9cf7f81be1ccf0bedfec122b416090ce80cc
[3.11] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) (GH-134613)

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]