Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 30, 2020

Disallow CR or LF in email.headerregistry.Address arguments to guard against header injection attacks.
(cherry picked from commit 614f172)

Co-authored-by: Ashwin Ramaswami [email protected]

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)

Co-authored-by: Ashwin Ramaswami <[email protected]>
@miss-islington
Copy link
Contributor Author

@epicfaace and @bitdancer: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@epicfaace and @bitdancer: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@epicfaace and @bitdancer: Status check is done, and it's a failure ❌ .

@ned-deily
Copy link
Member

@bitdancer Is this ready to merge? If so, I will merge to 3.6 for you. (Ignore the codecov check failure.)

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bitdancer approved the origin PR #19007 and requested backported to 3.6, 3.7 and 3.8:
#19007 (review)

So yeah, we must backport security fixes to stable branches. Since the CI pass, I merge the PR (by approving it).

@vstinner
Copy link
Member

@ned-deily: Would you mind to merge it? CI tests passed. 3.7 fix is already merged.

@ned-deily ned-deily merged commit 7df32f8 into python:3.6 May 27, 2020
@bedevere-bot
Copy link

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

@miss-islington miss-islington deleted the backport-614f172-3.6 branch May 27, 2020 23:17
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.

6 participants