Skip to content

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

Merged
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-d931725-3.13
Mar 6, 2026
Merged

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

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

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>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-securityA security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@vstinner@benediktjohannes