Skip to content

[3.5] bpo-39073: validate Address parts to disallow CRLF (#19007) #20450

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 12, 2020
Merged

[3.5] bpo-39073: validate Address parts to disallow CRLF (#19007) #20450

merged 2 commits into from
Jun 12, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 27, 2020

Disallow CR or LF in email.headerregistry.Address arguments to guard against header injection attacks.

(cherry picked from commit 614f172)

https://bugs.python.org/issue39073

 Disallow CR or LF in email.headerregistry.Address arguments to guard against header injection attacks.

(cherry picked from commit 614f172)
@vstinner
Copy link
Member Author

cc @bitdancer

@larryhastings larryhastings merged commit f91a0b6 into python:3.5 Jun 12, 2020
@bedevere-bot
Copy link

@larryhastings: Please replace # with GH- in the commit message next time. Thanks!

@larryhastings
Copy link
Contributor

Thanks for the 3.5 backport love!

@vstinner vstinner deleted the email35 branch June 15, 2020 12:49
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.

5 participants