Skip to content

[security] Disallow usage of control characters in status, headers and values for security in Lib/wsgiref/handlers.py #144370

@benediktjohannes

Description

@benediktjohannes

This issue is opened as public as the primary described CVE is already publicated and this only contains one certain point that has to be changed in code in Python.

In Lib/wsgiref/handlers.py at 260 (def _convert_string_type(self, value, title):) it is necessary to add the same fix as in #143916 requested as well.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-securityA security issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions