]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] 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:27 +0000 (15:55 +0200)
committerGitHub <noreply@github.com>
Tue, 3 Jun 2025 13:55:27 +0000 (15:55 +0200)
commitc0e26585254cde2b25385c19c3b63550de4d6351
treec31b56f5720c533084979aca97f5e23d289348f7
parent24bd1834ca5b27e6efd5a4b271eaa58bb40f7dcf
[3.10] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) (GH-134614)

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]