Skip to content

[3.15] gh-160898: Reject null bytes in socket.getaddrinfo() host and port (GH-160899) - #160925

Merged
hugovk merged 1 commit into
python:3.15from
sethmlarson:backport-131a3a6-3.15
Nov 6, 2026
Merged

hugovk merged 1 commit into
python:3.15from
sethmlarson:backport-131a3a6-3.15

Conversation

@sethmlarson

@sethmlarson sethmlarson commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

…ost and port (pythonGH-160899)

(cherry picked from commit 131a3a6)

Co-authored-by: Seth Larson <seth@python.org>
Co-authored-by: Stan Ulbrych <stan@python.org>
@read-the-docs-community

Copy link
Copy Markdown

jkreileder added a commit to jkreileder/cf-ips-to-hcloud-fw that referenced this pull request Nov 5, 2026
…fix ships (#1599)

Grype matches CVE-2026-116566 (null bytes accepted in socket.getaddrinfo()
host and port, medium) against the python 3.15.2 binary in the base image
and lists a fix only in 3.16.0. The fix is merged on main
(python/cpython#160899); the backports to 3.15 (python/cpython#160925) and
older branches are still open, so no 3.15.x release clears it yet.

The rule is pinned to python 3.15.2 so a base-image bump re-checks it.

Refs #1584

Signed-off-by: Jürgen Kreileder <jk@blackdown.de>
@hugovk
hugovk merged commit 85736ac into python:3.15 Nov 6, 2026
106 of 108 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-blocker topic-socket Related to the socket, socketserver and selectors modules type-security A security issue

Projects

Development

Successfully merging this pull request may close these issues.

2 participants