Skip to content

[3.9] gh-128840: Limit the number of parts in IPv6 address parsing (GH-128841) #134615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

miss-islington
Copy link
Contributor

GH-128840: Limit the number of parts in IPv6 address parsing
Limit length of IP address string to 39


(cherry picked from commit 47f1161)

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

…ythonGH-128841)

pythonGH-128840: Limit the number of parts in IPv6 address parsing
Limit length of IP address string to 39

---------
(cherry picked from commit 47f1161)

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>
@gpshead
Copy link
Member

gpshead commented May 28, 2025

This needs a backport of #134836 applied on top of it before merging.

@ambv
Copy link
Contributor

ambv commented Jun 3, 2025

It will be quicker to land this and then apply the fix as a separate PR, like in 3.12 - 3.15.

@ambv ambv merged commit 78394a6 into python:3.9 Jun 3, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-security A security issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy