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

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]