Skip to content

[3.14] gh-144370: Disallow usage of control characters in status in wsgiref.handlers for security (GH-144371)#145586

Merged
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-d931725-3.14
Mar 6, 2026
Merged

[3.14] gh-144370: Disallow usage of control characters in status in wsgiref.handlers for security (GH-144371)#145586
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-d931725-3.14

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 6, 2026

Disallow usage of control characters in status in wsgiref.handlers
to prevent HTTP header injections.
(cherry picked from commit d931725)

Co-authored-by: Benedikt Johannes benedikt.johannes.hofer@gmail.com
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner vstinner@python.org

…giref.handlers for security (pythonGH-144371)

Disallow usage of control characters in status in wsgiref.handlers
to prevent HTTP header injections.
(cherry picked from commit d931725)

Co-authored-by: Benedikt Johannes <benedikt.johannes.hofer@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app bedevere-app bot added the type-security A security issue label Mar 6, 2026
@vstinner vstinner enabled auto-merge (squash) March 6, 2026 12:23
@vstinner vstinner merged commit 89b69db into python:3.14 Mar 6, 2026
51 checks passed
@miss-islington miss-islington deleted the backport-d931725-3.14 branch March 6, 2026 12:48
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