Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.14] gh-143916: Reject control characters in wsgiref.headers.Headers (GH-143917)#143972

Merged
gpshead merged 1 commit into
python:3.14python/cpython:3.14from
miss-islington:backport-f7fceed-3.14miss-islington/cpython:backport-f7fceed-3.14Copy head branch name to clipboard
Jan 17, 2026
Merged

[3.14] gh-143916: Reject control characters in wsgiref.headers.Headers (GH-143917)#143972
gpshead merged 1 commit into
python:3.14python/cpython:3.14from
miss-islington:backport-f7fceed-3.14miss-islington/cpython:backport-f7fceed-3.14Copy head branch name to clipboard

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

Co-authored-by: Seth Michael Larson seth@python.org

…pythonGH-143917)

* Add 'test.support' fixture for C0 control characters
* pythongh-143916: Reject control characters in wsgiref.headers.Headers
(cherry picked from commit f7fceed)

Co-authored-by: Seth Michael Larson <seth@python.org>
@gpshead gpshead enabled auto-merge (squash) January 17, 2026 17:47
@gpshead gpshead merged commit 23e3c0a into python:3.14 Jan 17, 2026
55 checks passed
@miss-islington miss-islington deleted the backport-f7fceed-3.14 branch January 17, 2026 18:11
ihvo pushed a commit to ihvo/azurelinux that referenced this pull request Apr 24, 2026
Verified against python/cpython that every CVE patch on the 3.12 fork has a
3.14-branch backport PR that merged before 3.14.4's release on 2026-04-07:

  CVE-2026-0672 → PR python/cpython#144089 (merged 2026-01-23)
  CVE-2026-0865 → PRs python/cpython#143972 + #144761 (merged 2026-01-17 / 02-21)
  CVE-2026-1299 → PR python/cpython#144182 (merged 2026-01-25)
  CVE-2026-4519 → PRs python/cpython#146214 + #148042 (merged 2026-03-23 / 04-03)

The CVE-2025-* patches are even older and were already in 3.14.0 (GA 2025-10).
Carrying patches we don't need adds hunk-maintenance cost, rebase risk, and
auditor confusion with no upside.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.